-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logger.arm() does not work on server #11
Comments
Confirmed: this was planned, but in its current implementation relying on csnover/TraceKit, the stacks are only captured on browsers. The alternative, occ/TraceKit, rejected including Node support too. Looking into https://github.com/v8/v8/wiki/Stack%20Trace%20API to see what it would entail. If you have any idea, I'm all ears. |
So I did various tests on the server side and it is indeed simple to make arm() work for top-level code by listening to the
Any idea ? |
Interesting and possibly useful article about errors: https://airbrake.io/blog/javascript-error-handling/javascript-error-hierarchy |
Calling
logger.arm()
on the server does not seem to work as described in README.Example
/server/main.js
/server/some/other/directory/file.js
This does not produce a log entry in the MongoDB's collection
logger
, instead, it just logs to console. The same procedure on the client does produce a log entry.The text was updated successfully, but these errors were encountered: