Skip to content

Commit

Permalink
Fix typo in oauth2 error handler log (palantir#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluekeyes authored Apr 24, 2020
1 parent 8924ef0 commit e7c07b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth2/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func DefaultErrorCallback(w http.ResponseWriter, r *http.Request, err error) {
return
}
if _, ok := err.(LoginError); ok {
http.Error(w, fmt.Sprintf("ouaht2 error: %v", err.Error()), http.StatusBadRequest)
http.Error(w, fmt.Sprintf("oauth2 error: %v", err.Error()), http.StatusBadRequest)
return
}
http.Error(w, err.Error(), http.StatusInternalServerError)
Expand Down

0 comments on commit e7c07b7

Please sign in to comment.