Skip to content

Commit

Permalink
fix: in non cloud environments, show actual errors, rather than hb no…
Browse files Browse the repository at this point in the history
…nsense
  • Loading branch information
hoorayimhelping committed Aug 18, 2020
1 parent ebf41ec commit 176fdc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

### UI Improvements
1. [19231](https://github.com/influxdata/influxdb/pull/19231): Alerts page filter inputs now have tab indices for keyboard navigation
1. [19364](https://github.com/influxdata/influxdb/pull/19364): Errors in OSS are now properly printed to the console

## v2.0.0-beta.15 [2020-07-23]

Expand Down
6 changes: 1 addition & 5 deletions ui/src/shared/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@ export const reportError = (

event('ui error', {error: errorType}, {errorCount: 1})
} else {
const honeyBadgerContext = (HoneyBadger as any).context
/* eslint-disable no-console */
console.log('Context that would have been sent to HoneyBadger:')
console.table({...honeyBadgerContext, ...context, ...options})
/* eslint-enable no-console */
console.error(error)
}
}

Expand Down

0 comments on commit 176fdc8

Please sign in to comment.