mirror of
https://github.com/arx-research/libhalo.git
synced 2026-01-09 13:18:04 -05:00
Gateway/Bridge: report proper exception class names (#433)
This commit is contained in:
committed by
GitHub
parent
7e592de54c
commit
5c19213f08
@@ -344,7 +344,9 @@ function wsCreateServer(args: Namespace, getReaderNames: () => string[]) {
|
||||
"uid": packet.uid,
|
||||
"data": {
|
||||
"exception": {
|
||||
"kind": e.constructor.name,
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-expect-error
|
||||
"kind": e.errorName ?? e.constructor.name,
|
||||
"name": e.name,
|
||||
"message": e.message,
|
||||
"stack": e.stack
|
||||
|
||||
Reference in New Issue
Block a user