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

get_version chokes on django.db.backends.postgresql_psycopg2.base #143

Closed
tstriker opened this issue Jul 6, 2012 · 0 comments
Closed

get_version chokes on django.db.backends.postgresql_psycopg2.base #143

tstriker opened this issue Jul 6, 2012 · 0 comments

Comments

@tstriker
Copy link

tstriker commented Jul 6, 2012

when raven tries to determine version it goes for different approaches, this get_version call here https://github.com/dcramer/raven/blob/master/raven/utils/__init__.py#L64

dies when trying to call this evil bit:
https://github.com/django/django/blob/master/django/db/backends/postgresql_psycopg2/version.py#L24

i think just wrapping it up in a try/except should suffice

thank you for the awesome tool!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants