Commit 7f9dd4f
Ignore dial error in dbtest after stopping server. (globalsign#122)
* Ignore dial error when server is stopped. related to globalsign#117
* Print dbtest server starting error before panic.
As seen in globalsign#117, dbtest start() throws a panic when it can't start mongo.
This panic is picked up by a panichandler obscuring the actual problem.
This PR simply prints the error start() encounters to stderr, before throwing the panic.1 parent c8fc2eb commit 7f9dd4f
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 80 | + | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
| |||
0 commit comments