fixed small bug checking for stack on undefined object
This commit is contained in:
parent
aac8ca0eb0
commit
d0b4563ba0
@ -44,7 +44,7 @@ function formatLogData(logData) {
|
||||
}
|
||||
|
||||
data.forEach(function (item) {
|
||||
if (item.stack) {
|
||||
if (item && item.stack) {
|
||||
output += item.stack;
|
||||
} else {
|
||||
output += util.inspect(item);
|
||||
|
Loading…
Reference in New Issue
Block a user