refactor: update error handling and logging for improved error details display
This commit is contained in:
@@ -21,6 +21,10 @@ function getLogValue(args: unknown[]): Record<string, unknown> | undefined {
|
||||
stack: args[0].stack,
|
||||
name: args[0].name,
|
||||
cause: String(args[0].cause),
|
||||
digest:
|
||||
"digest" in args[0] && args[0].digest
|
||||
? String(args[0].digest)
|
||||
: undefined,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user