Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #249 from jeanpralo/0.9
Browse files Browse the repository at this point in the history
Add connection timed-out message to avoid exception (postgres)
  • Loading branch information
josephmancuso committed Nov 17, 2018
2 parents c16ee06 + 92de8c4 commit 34e774e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orator/connections/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def _caused_by_lost_connection(self, e):
"server closed the connection unexpectedly",
"ssl connection has been closed unexpectedly",
"error writing data to the connection",
"connection timed out",
"resource deadlock avoided",
]:
if s in message:
Expand Down

0 comments on commit 34e774e

Please sign in to comment.