Skip to content

Commit

Permalink
Merge pull request #74 from kayac/fix/count-errors
Browse files Browse the repository at this point in the history
fix: counting errors on unknown errors.
  • Loading branch information
fujiwara authored Apr 8, 2024
2 parents dfa8db0 + b43f0db commit de6094e
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 de6094e

Please sign in to comment.