diff --git a/run.go b/run.go index 4396389..54b084e 100644 --- a/run.go +++ b/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)