File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,11 @@ import (
44 "os"
55 "strconv"
66 "strings"
7+ "time"
78
89 middlewares "github.com/codeshelldev/secured-signal-api/internals/proxy/middlewares"
910 utils "github.com/codeshelldev/secured-signal-api/utils"
11+ "github.com/codeshelldev/secured-signal-api/utils/docker"
1012 log "github.com/codeshelldev/secured-signal-api/utils/logger"
1113
1214 "github.com/knadh/koanf/parsers/dotenv"
@@ -83,7 +85,11 @@ func LoadFile(path string, parser koanf.Parser) (*file.File) {
8385 err := config .Load (f , parser )
8486
8587 if err != nil {
86- log .Fatal ("Error loading " , path , ": " , err .Error ())
88+ log .Error ("Error loading " , path , ": " , err .Error ())
89+
90+ time .Sleep (5 * 1000 * 1000 )
91+
92+ docker .Exit (1 )
8793 }
8894
8995 f .Watch (func (event interface {}, err error ) {
You can’t perform that action at this time.
0 commit comments