We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f66c22 commit 27d8518Copy full SHA for 27d8518
1 file changed
lib/Server.js
@@ -2175,7 +2175,9 @@ class Server {
2175
}
2176
2177
startCallback(callback) {
2178
- this.start().then(() => callback(null), callback);
+ this.start()
2179
+ .then(() => callback(null), callback)
2180
+ .catch(callback);
2181
2182
2183
async stop() {
@@ -2235,7 +2237,9 @@ class Server {
2235
2237
2236
2238
2239
stopCallback(callback) {
- this.stop().then(() => callback(null), callback);
2240
+ this.stop()
2241
2242
2243
2244
2245
// TODO remove in the next major release
0 commit comments