This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Hook into $log.error #3
Labels
Comments
Thank you! I will make sure to bring it up in our next planning session. Have a good one, |
would you be open for a PR? |
Absolutely! Feedback and Contribution is much appreciated :) |
Cool, now to find time 🕐 :D |
my temp workaround until I have more time to make a pr var errorLog = $log.error;
$log.error = function () {
var args = [].slice.call(arguments);
$opbeat.captureException(args[0]);
return errorLog.apply(null, args);
}; |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a feature request for the opbeat logger to hook into $log.error to easily log custom errors
The text was updated successfully, but these errors were encountered: