Skip to content

Commit

Permalink
Merge pull request #55 from rchincha/500-status
Browse files Browse the repository at this point in the history
  • Loading branch information
rchamarthy authored Jan 6, 2020
2 parents d5d6928 + 8bbf892 commit 2b9d29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ func WriteDataFromReader(w http.ResponseWriter, status int, length int64, mediaT
break
} else if err != nil {
// other kinds of intermittent errors can occur, e.g, io.ErrShortWrite
logger.Error().Err(err).Msg("copying data into http response")
logger.Panic().Err(err).Msg("copying data into http response")
}
}
}

0 comments on commit 2b9d29c

Please sign in to comment.