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
The problem appears to be that, in the browser, a pino/browser.js module is being loaded with a different implementation of stdSerializers.errWithCause which doesn't actually serialize the cause property.
The text was updated successfully, but these errors were encountered:
Please provide a minimal reproducible example, written in JavaScript. Doing so will help us diagnose your issue. It should be the bare minimum code needed to trigger the issue, and easily runnable without any changes or extra code.
You may use a GitHub repository to host the code if it is too much to fit in a code block (or two).
When using
Pino.stdSerializers.errWithCause
in the browser the "cause" property of errors are not, in fact, serialized.Video demonstrating the behavior.
https://www.loom.com/share/916e9677c50946f99a5772adef18e992?sid=e775a176-ceed-48a1-a032-821f8af74314
The problem appears to be that, in the browser, a
pino/browser.js
module is being loaded with a different implementation ofstdSerializers.errWithCause
which doesn't actually serialize thecause
property.The text was updated successfully, but these errors were encountered: