Commit 8d9be13
Alexey Malihin
Adding logging in console if something goes wrong
Could be useful, when you are connected to mongoDb, but have no right to write in it. Console log will return correct error instead of 'Error: timeout'.1 parent 84e78b3 commit 8d9be13
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
0 commit comments