Skip to content

Conversation

@intgr
Copy link

@intgr intgr commented Oct 22, 2012

Asking for connection isolation_level results in a query executed by
psycopg2. However, all queries ran in an aborted transaction will result
in a new error.

This is my biggest annoyance with the debug toolbar -- whenever a query
causes an aborted transaction, the original error is hidden and a new
exception is thrown:

InternalError: current transaction is aborted, commands ignored until
end of transaction block

@johnraz
Copy link

johnraz commented Oct 24, 2012

This is a duplicate of #230

Asking for connection isolation_level results in a query executed by
psycopg2. However, all queries ran in an aborted transaction will result
in a new error.

This is my biggest annoyance with the debug toolbar -- whenever a query
causes an aborted transaction, the original error is hidden and a new
exception is thrown:

  InternalError: current transaction is aborted, commands ignored until
  end of transaction block
@nuklea
Copy link
Contributor

nuklea commented Nov 15, 2012

Great pull request.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't specify exception?

@jezdez jezdez closed this Nov 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants