I want to detect errors in a standalone Python script with Sentry+Raven.
I tried to configure it and raven test ...
is workging.
Then I place this on top of the script:
from raven import Client
client = Client('http://...@.../1')
client.captureException()
the exception is generated later on this:
import django
django.setup()
from django.conf import settings
And I want to see the actual stack for this error:
ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'settings'
But all I see in Sentry is
which is completely useless.
How can I change this to have a normal traceback?