Closed Bug 870092 Opened 12 years ago Closed 12 years ago

socorro/external/postgresql/base.py query method eats psycopg2 exception

Categories

(Socorro Graveyard :: Middleware, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: adrian)

Details

(Whiteboard: [qa-])

It's really hard to tell why something is failing, because the exception is eaten and a generic error message is returned in the exception instead. I hit this today because my user didn't have permission to one of the tables.
Assignee: nobody → adrian
Priority: -- → P1
Whiteboard: [qa-]
Target Milestone: --- → 51
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/1cfa07c90192eee001b2760adba09e0bddb356cb Fixes bug 870092 - Added raised exception in postgres methods. https://github.com/mozilla/socorro/commit/231e87e9bde8bb443b72752245d0d812b4d11739 Merge pull request #1287 from AdrianGaudebert/870092-psycopg-exceptions Fixes bug 870092 - Added raised exception in postgres methods.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: 51 → 50
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.