Skip to content

Commit

Permalink
Add fingerprint and request
Browse files Browse the repository at this point in the history
  • Loading branch information
kefuzhao committed Sep 16, 2016
1 parent e1c1fec commit b66ac9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions raven/handlers/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def can_record(self, record):
record.name.startswith(('sentry.errors', 'raven.'))
)

def emit(self, record):
def emit(self, record, **kwargs):
try:
# Beware to python3 bug (see #10805) if exc_info is (None, None, None)
self.format(record)
Expand All @@ -65,7 +65,7 @@ def emit(self, record):
print(to_string(record.message), file=sys.stderr)
return

return self._emit(record)
return self._emit(record, **kwargs)
except Exception:
if self.client.raise_send_errors:
raise
Expand Down Expand Up @@ -119,7 +119,7 @@ def _emit(self, record, **kwargs):
continue
if k.startswith('_'):
continue
if '.' not in k and k not in ('culprit', 'server_name'):
if '.' not in k and k not in ('culprit', 'server_name', 'fingerprint'):
extra[k] = v
else:
data[k] = v
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def run_tests(self):

setup(
name='raven',
version='5.3.1.2',
version='5.3.1.3',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/getsentry/raven-python',
Expand Down

0 comments on commit b66ac9d

Please sign in to comment.