Skip to content

Commit

Permalink
fix: stop sending full error to bq
Browse files Browse the repository at this point in the history
  • Loading branch information
orsagie committed Jan 9, 2020
1 parent d36a297 commit 12718f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function handleError(args, error) {

if (!vulnsFound && !error.stack) {
// log errors that are not error objects
analytics.add('error', JSON.stringify(analyticsError));
analytics.add('error', true);
analytics.add('command', args.command);
} else {
analytics.add('error-message', analyticsError.message);
Expand Down

0 comments on commit 12718f1

Please sign in to comment.