feat(httpx): return 503 when a dependency is unavailable
This commit is contained in:
@@ -34,7 +34,7 @@ func Auth(auth authenticator) func(http.Handler) http.Handler {
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
httpx.WriteInternalError(w, requestID)
|
||||
httpx.WriteInternalError(w, requestID, err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user