Closed ewjoachim closed 5 months ago
Click to see where and how coverage changed
File Statements Missing Coverage Coverage
(new stmts)Lines missing
procrastinate
psycopg_connector.py
sync_psycopg_connector.py
utils.py
procrastinate/contrib/aiopg
aiopg_connector.py
procrastinate/contrib/django
django_connector.py
procrastinate/contrib/psycopg2
psycopg2_connector.py
procrastinate/contrib/sqlalchemy
psycopg2_connector.py
Project Total
This report was generated by python-coverage-comment-action
Closes #981
Django connector was missing an exception mapper transforming Psycopg (2 or 3) exceptions to procrastinate exception, especially the queueing lock exception that we handle gracefully.
In order to make a proper implementation, I redid
wrap_exceptions
everywhere usingcontextlib.contextmanager
.Successful PR Checklist:
PR label(s):