Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #318 from plain-vanilla-games/master
Browse files Browse the repository at this point in the history
Respect log level overriding from kwargs in Exception handler
  • Loading branch information
dcramer committed Jun 5, 2013
2 parents d0bd88f + 10a78dd commit c3f6bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raven/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def capture(self, exc_info=None, **kwargs):
exc_type = getattr(exc_type, '__name__', '<unknown>')

return {
'level': logging.ERROR,
'level': kwargs.get('level', logging.ERROR),
'sentry.interfaces.Exception': {
'value': to_unicode(exc_value),
'type': str(exc_type),
Expand Down

0 comments on commit c3f6bc1

Please sign in to comment.