mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 20:56:51 +00:00
Import/Export backend prep
This commit is contained in:
@ -147,11 +147,11 @@ func (ph *panicHandler) HandlePanic() {
|
||||
config.HandlePanic(ph.cfg, fmt.Sprintf("Recover: %v", r))
|
||||
frontend.HandlePanic()
|
||||
|
||||
*ph.err = cli.NewExitError("Panic and restart", 666)
|
||||
*ph.err = cli.NewExitError("Panic and restart", 255)
|
||||
numberOfCrashes++
|
||||
log.Error("Restarting after panic")
|
||||
restartApp()
|
||||
os.Exit(666)
|
||||
os.Exit(255)
|
||||
}
|
||||
|
||||
// run initializes and starts everything in a precise order.
|
||||
|
||||
Reference in New Issue
Block a user