File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,9 @@ func run(ctx context.Context) error {
74
74
// If Redis is not running, error case is taken instead
75
75
status , err := rdb .Ping (ctx ).Result ()
76
76
if err != nil {
77
- // return fmt.Errorf("failed to ping redis got error: %v", err)
78
- slog .Error ("failed to connect redis - JUST LOGGING FOR NOW!" , slog .Any ("err" , err ))
77
+ return fmt .Errorf ("failed to ping redis got error: %v" , err )
79
78
}
80
- slog .Info ("redis" , slog .Any ("redis status" , status ))
79
+ slog .Info ("redis" , slog .Any ("status" , status ))
81
80
82
81
// init stores
83
82
accountStore := repository .NewAccountDB (db )
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func run(ctx context.Context) error {
76
76
if err != nil {
77
77
return fmt .Errorf ("failed to ping redis got error: %v" , err )
78
78
}
79
- slog .Info ("redis" , slog .Any ("redis status" , status ))
79
+ slog .Info ("redis" , slog .Any ("status" , status ))
80
80
81
81
// init respective stores
82
82
workspaceStore := repository .NewWorkspaceDB (db )
You can’t perform that action at this time.
0 commit comments