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'd like to add my own logging logic when it comes to displaying warnings. Would it be possible to add a hook to intercept these warnings so I can handle them myself?
process.on('bluebirdWarning', function (warn) {
// ...
});
The text was updated successfully, but these errors were encountered:
We should hold off until there's a node consensus and then decide if we want to reuse their hook if it's appropriate. In theory this sounds like a good idea if it's not too much work.
Added as 'warning' in 3.3. `'warn' alias will probably be added if node adds it as well since the api is the same (.name, .message, .stack). Still undocumented.
I'd like to add my own logging logic when it comes to displaying warnings. Would it be possible to add a hook to intercept these warnings so I can handle them myself?
The text was updated successfully, but these errors were encountered: