Browse Source
Before, if there was an error in the error handler, we would not write a status code, which resulted in Go writing a 200 for us by default, which does not make sense when there's an error. Now we write the second error's status if available, otherwise 500.master
Matthew Holt
4 years ago
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue