Skip to content

Commit 5d02c90

Browse files
committed
Patch up console logging to be less crashy
1 parent b18bdd5 commit 5d02c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ client.init().then(() => {
2020
// eslint-disable-next-line no-console
2121
console.error('initialization failed')
2222
// eslint-disable-next-line no-console
23-
console.error(e)
23+
console.error(e?.message, e?.stack)
2424
})
2525

2626
module.exports = app

0 commit comments

Comments
 (0)