-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
A local hack we use with this module in RollbarService.marshallStackTrace()
:
`var msgDetail = arguments.exception.Detail;
if ( len( arguments.exception?.SQL ) ) {
local.msgDetail &= "SQL: " & arguments.exception.SQL;
}
var trace = {
"exception": {
"class" : arguments.exception.Type,
"message" : arguments.exception.Message,
"description" : local.msgDetail
},
"frames" : []
};`
This way we don't drop the SQL from the exception when it exists.
Metadata
Metadata
Assignees
Labels
No labels