Define common application exit codes for backend executables in Exit.go.

Improve logging of webapi start.
This commit is contained in:
Kleissner
2021-11-15 03:00:24 +01:00
parent 9626fa8088
commit d06c2e0b1a
6 changed files with 37 additions and 12 deletions

View File

@@ -26,6 +26,6 @@ func initUserBlockchain() {
if err != nil {
Filters.LogError("initUserBlockchain", "error: %s\n", err.Error())
os.Exit(1)
os.Exit(ExitBlockchainCorrupt)
}
}