-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(db): improve error reporting and code clean up (#171)
* fix(db): do not hide real db errors and do not print databse in error since it can contains username and password * chore(db): add @slangroom/shared as dependency * refactor(db): improve error reporting Remove also some duplicated code * test(db): more failing test * fix(db): improve handling of connectionRefusedError error the message field of that error was an empty string * fix(db): improve typing * test(db): refactor and remove some useless try...catch
- Loading branch information
1 parent
de0850a
commit 2c76af0
Showing
5 changed files
with
215 additions
and
252 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
Oops, something went wrong.