fix: in non cloud environments, show actual errors, rather than hb nonsense

pull/19365/head
Bucky Schwarz 2020-08-18 11:34:33 -07:00 committed by Bucky Schwarz
parent ebf41ec351
commit 176fdc86ca
2 changed files with 2 additions and 5 deletions

View File

@ -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]

View File

@ -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)
}
}