We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d7daf commit 9695415Copy full SHA for 9695415
src/utils/exception.ts
@@ -6,11 +6,11 @@ import { internalLog } from '../communication/internal'
6
*/
7
export function setup (): void {
8
process.setUncaughtExceptionCaptureCallback(err => {
9
+ logger.error(err)
10
internalLog.error({
11
type: 'text',
12
content: `Encountered uncaught exception: ${err.message} \n ${err.stack}`,
13
ctx: undefined
14
})
- logger.error(err)
15
16
}
0 commit comments