mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 14:33:22 +00:00
misc bits
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "coriolis_shipyard",
|
||||
"version": "2.9.1",
|
||||
"version": "2.9.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -134,9 +134,9 @@ export default class Coriolis extends React.Component {
|
||||
console && console.error && console.error(arguments); // eslint-disable-line no-console
|
||||
if (errObj) {
|
||||
if (errObj instanceof Error) {
|
||||
Bugsnag.notifyException(errObj) // eslint-disable-line
|
||||
bugsnagClient.notify(errObj) // eslint-disable-line
|
||||
} else if (errObj instanceof String) {
|
||||
Bugsnag.notify(msg, errObj) // eslint-disable-line
|
||||
bugsnagClient.notify(msg, errObj) // eslint-disable-line
|
||||
}
|
||||
}
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user