fix tracler: safer error logging on start (#2034)
This commit is contained in:
parent
3733dac781
commit
897ea18f57
1 changed files with 3 additions and 2 deletions
|
|
@ -1132,8 +1132,9 @@ export default class App {
|
||||||
}
|
}
|
||||||
|
|
||||||
this._debug('session_start', reason)
|
this._debug('session_start', reason)
|
||||||
this.signalError(reason.toString?.() || reason, [])
|
const errorMessage = reason instanceof Error ? reason.message : reason.toString()
|
||||||
return UnsuccessfulStart(reason.toString?.() || reason)
|
this.signalError(errorMessage, [])
|
||||||
|
return UnsuccessfulStart(errorMessage)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue