Skip to content

Commit

Permalink
Merge pull request #36 from jhirniak/bugfix/issue-13
Browse files Browse the repository at this point in the history
Added orig to base of DatabaseException.

Multiprocessing/asyncio pickling issues.
  • Loading branch information
xzkostyan committed Nov 24, 2018
2 parents 2b45baf + 98815f7 commit 75577dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse_sqlalchemy/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class DatabaseException(Exception):
def __init__(self, orig):
self.orig = orig
super(DatabaseException, self).__init__()
super(DatabaseException, self).__init__(orig)

def __str__(self):
text = 'Orig exception: {}'.format(self.orig)
Expand Down

0 comments on commit 75577dc

Please sign in to comment.