You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'split' of undefined
at graylog.log [as _log] (/Users/.....node_modules/graylog2/graylog.js:146:34)
at graylog.error (/Users/.....node_modules/graylog2/graylog.js:93:17)
Graylog code:
}elseif(short_message.stack&&short_message.message){// Short message is an Error message, we process accordinglymessage.short_message=short_message.message;message.full_message=short_message.stack;// extract error file and linefileinfo=message.stack.split('\n')[0];
Looking at this, the last line message.stack should be short_message.stack.
Message is a newly build object within the library which does not contain a stack trace by default.
The text was updated successfully, but these errors were encountered:
Graylog code:
Looking at this, the last line
message.stack
should beshort_message.stack
.Message is a newly build object within the library which does not contain a stack trace by default.
The text was updated successfully, but these errors were encountered: