Skip to content

Commit e921750

Browse files
authored
fix undefined error variable (cosmos#179)
1 parent 9ad7d66 commit e921750

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server/start.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ which accepts a path for the resulting pprof file.
144144
}
145145

146146
serverCtx.Logger.Debug("received quit signal")
147-
// TODO: why is this check here? Should not make sense since err is checked above
148-
if err != nil {
149-
serverCtx.Logger.Error(fmt.Sprintf("error on quit: %s", err.Error()))
150-
}
151147

152148
return nil
153149
},

0 commit comments

Comments
 (0)