dcramer/raven — Issue #58: Django's SENTRY_DSN causes exception
Author: bashmish
Created: 2012-02-03 17:16:15+00:00
State: open

As of 32bbbf9cd97e7a2a3574289683608bb2554c2cd2

File ".../eggs/raven-1.3.3-py2.7.egg/raven/base.py", line 88, in __init__
raise ValueError("You seem to be incorrectly instantiating the raven Client class.")
ValueError: You seem to be incorrectly instantiating the raven Client class.

when trying to set SENTRY_DSN to dsn value.

The exception is raised in Client initialization and caused by these lines

if isinstance(servers, basestring):
# must be a DSN:
if dsn:
raise ValueError("You seem to be incorrectly instantiating the raven Client class.")
dsn = servers
servers = None