[django/django] 544855: Fixed #17601 -- expose underlying db exceptions un...

1 view
Skip to first unread message

GitHub

unread,
Jun 4, 2013, 8:28:22 AM6/4/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 54485557855d58d9a5027511025d5ab22f721c6d
https://github.com/django/django/commit/54485557855d58d9a5027511025d5ab22f721c6d
Author: James Aylett <ja...@tartarus.org>
Date: 2013-06-04 (Tue, 04 Jun 2013)

Changed paths:
M django/db/utils.py
M docs/ref/exceptions.txt

Log Message:
-----------
Fixed #17601 -- expose underlying db exceptions under py2

Use __cause__ to expose the underlying database exceptions even
under python 2.


Commit: 687afdaa48681e5c094679e7295d09b36a41b657
https://github.com/django/django/commit/687afdaa48681e5c094679e7295d09b36a41b657
Author: Marc Tamlyn <marc....@gmail.com>
Date: 2013-06-04 (Tue, 04 Jun 2013)

Changed paths:
M django/db/utils.py
M docs/ref/exceptions.txt

Log Message:
-----------
Merge pull request #1241 from jaylett/master

Explicit exception chaining for db exceptions by setting __cause__ in py2


Compare: https://github.com/django/django/compare/4f4e9243e4cf...687afdaa4868
Reply all
Reply to author
Forward
0 new messages