This repository was archived by the owner on Oct 23, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 653
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
raven.contrib.django.capture exceptions #48
Copy link
Copy link
Closed
Description
I keep seeing a lot of stuff like this under the raven.contrib.django.capture.exceptions logger in Sentry:
Internal Server Error: /admin/enrollment/enrollmentinvitation/1463/
Traceback (most recent call last):
File "raven/utils/stacks.py", line 170, in get_stack_info
lineno = frame.f_lineno - 1
File "raven/base.py", line 187, in capture
'frames': varmap(lambda k, v: shorten(v), get_stack_info(frames))
File "raven/contrib/django/__init__.py", line 92, in capture
result = super(DjangoClient, self).capture(event_type, **kwargs)
File "raven/handlers/logging.py", line 103, in _emit
date=date, **kwargs)
File "raven/contrib/django/handlers.py", line 32, in _emit
return super(SentryHandler, self)._emit(record, request=request)
File "raven/handlers/logging.py", line 48, in emit
return self._emit(record)
File "logging/__init__.py", line 679, in handle
self.emit(record)
File "logging/__init__.py", line 1220, in callHandlers
hdlr.handle(record)
File "logging/__init__.py", line 1183, in handle
self.callHandlers(record)
File "logging/__init__.py", line 1173, in _log
self.handle(record)
File "logging/__init__.py", line 1082, in error
self._log(ERROR, msg, args, **kwargs)
File "django/core/handlers/base.py", line 209, in handle_uncaught_exception
'request':request
File "django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "django/core/handlers/wsgi.py", line 272, in __call__
response = self.get_response(request)
File "deployment/misc_config/cbwsgi.py", line 19, in application
return _application(environ, start_response)
File "gunicorn/workers/async.py", line 62, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "gunicorn/workers/async.py", line 37, in handle
self.handle_request(req, client, addr)
File "eventlet/greenthread.py", line 192, in main
result = function(*args, **kwargs)
Not much to go from there. I'm running Django 1.3.1, Python 2.7, gunicorn with the eventlet worker (which does monkeypatch some socket-related stuff).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Fields
Give feedbackNo fields configured for issues without a type.