Do not try to set the stack trace of undefined objects; rel v2.7.1
Sometimes we can get `undefined` as the error object to log. When that's the case, don't attempt to add the stack trace, nor log it (since bunyan doesn't log empty messages).
Please register or sign in to comment