Skip to content

Commit

Permalink
fix: counting errors on unknown errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Apr 8, 2024
1 parent dfa8db0 commit b43f0db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ func handleFCMResponse(resp SenderResponse, retryq chan<- Request, cmdq chan Com
atomic.AddInt64(&(srvStats.ErrCount), 1)
onResponse(result, errorResponseHandler.HookCmd(), cmdq)
default:
atomic.AddInt64(&(srvStats.ErrCount), 1)
LogWithFields(logf).Errorf("Unknown error message: %s", err)
}
}
Expand Down

0 comments on commit b43f0db

Please sign in to comment.