Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle client errors in pool.query (#131)
If an error not related to the query occurs, the client is emitting an error event. Forward this event to the callback.
- Loading branch information
1 parent
c8c41c5
commit 236db38
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters