Commit 71097ae
committed
Move success message to
express's `server.listen` has an asynchronous nature and it's API enables
providing a callback that is fired upon success. Now the success messaage
is logged only when the server has been set up and listening on provided
socket address, otherwise the error stack trace is printed.app's listen callback.1 parent a7894d3 commit 71097ae
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
0 commit comments