Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/api_gomux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,7 @@ func (api *API) WriteResult(rc *req, w http.ResponseWriter, ids interface{}, err
if err.(entity.DbError).Err == context.DeadlineExceeded {
maybeInc(metrics.QueryTimeout, 1, rc.gm)
} else {
log.Printf("DATABASE ERROR: %v", v.Err)
maybeInc(metrics.DbError, 1, rc.gm)
}
switch v.Type {
Expand Down