mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-22 04:37:50 +01:00
Define common application exit codes for backend executables in Exit.go.
Improve logging of webapi start.
This commit is contained in:
@@ -26,6 +26,6 @@ func initUserBlockchain() {
|
||||
|
||||
if err != nil {
|
||||
Filters.LogError("initUserBlockchain", "error: %s\n", err.Error())
|
||||
os.Exit(1)
|
||||
os.Exit(ExitBlockchainCorrupt)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user