When psycopg QueryCancelError occurs, we see only the SQL statement leading to the timeout and its parameters, but not the details of the QueryCancelError. This makes it hard to understand what heppend for example in OOPS-1438B2246.
This branch adds the original QueryCancelError message to the data reported for TimeoutErrors.
test: ./bin/test -vv -t test_adapter.txt
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
When psycopg QueryCancelError occurs, we see only the SQL statement leading to the timeout and its parameters, but not the details of the QueryCancelError. This makes it hard to understand what heppend for example in OOPS-1438B2246.
This branch adds the original QueryCancelError message to the data reported for TimeoutErrors.
test: ./bin/test -vv -t test_adapter.txt
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ webapp/ adapter. py /launchpad/ webapp/ ftests/ test_adapter. txt ~/canonical/ lp-branches/bug-494075$ make lint
lib/canonical
lib/canonical
abel@klato4:
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ webapp/ adapter. py /launchpad/ webapp/ ftests/ test_adapter. txt
lib/canonical
lib/canonical