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
Current versions of Node.js/V8 formally added the cause property as an "official" error field, but are suggesting to store the source error object in it (as opposed to a function, as expected by Bunyan).
Bunyan should probably handle error-type cause properties accordingly in its default error serializer (it can still accept functions as before, of course, for the sake of backwards compatibility).
The text was updated successfully, but these errors were encountered:
Current versions of Node.js/V8 formally added the
cause
property as an "official" error field, but are suggesting to store the source error object in it (as opposed to a function, as expected by Bunyan).Bunyan should probably handle error-type
cause
properties accordingly in its default error serializer (it can still accept functions as before, of course, for the sake of backwards compatibility).The text was updated successfully, but these errors were encountered: