This commit is contained in:
parent
9eb811169d
commit
744090aa9a
7
run.go
7
run.go
@ -168,6 +168,13 @@ func run() error {
|
||||
a.SetupRoutes()
|
||||
a.SetEchoSettings()
|
||||
|
||||
if err = setting.EraseENVs(); err != nil {
|
||||
log.Error("failed to erase PCMT ENVs")
|
||||
return err
|
||||
}
|
||||
|
||||
log.Debug("erased PCMT ENVs")
|
||||
|
||||
e := a.E()
|
||||
// channel used to check whether the app had troubles starting up.
|
||||
started := make(chan error, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user