Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix makeMigrationMode schema, use server.root.stop()
- Loading branch information
1 parent
1f7053e
commit 4259439
Showing
2 changed files
with
7 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,10 +199,14 @@ internals.initialize = (server, next) => { | |
|
||
if (err) { | ||
console.error(err); | ||
process.exit(1); | ||
server.root.stop(() => { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
devinivy
Member
|
||
process.exit(1); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
}); | ||
} | ||
|
||
process.exit(0); | ||
server.root.stop(() => { | ||
process.exit(0); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
}); | ||
}); | ||
} | ||
|
||
|
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
Don't want to swallow a stop error!