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
I reported this under seneca-web (senecajs/seneca-web#91) as I encountered it there. When seneca-web encounters an error, it will attempt to log the argument payload which includes req and res, which are circular and effectively blows up the process.
This should probably be wrapped in a try/catch. Maybe try to parse out the object tree one level at a time so you can see at least some of the payload similar to node's util.inspect function.
Maybe just use util.inspect??
The text was updated successfully, but these errors were encountered:
tswaters
pushed a commit
to tswaters/seneca
that referenced
this issue
Sep 21, 2016
I reported this under seneca-web (senecajs/seneca-web#91) as I encountered it there. When seneca-web encounters an error, it will attempt to log the argument payload which includes req and res, which are circular and effectively blows up the process.
This line specifically is where the problem is: https://github.com/senecajs/seneca/tree/v3.1.0/lib/logging.js#L45
This should probably be wrapped in a try/catch. Maybe try to parse out the object tree one level at a time so you can see at least some of the payload similar to node's util.inspect function.
Maybe just use util.inspect??
The text was updated successfully, but these errors were encountered: