Handle MissingPersonalAccessTokenError on Go middleware
The user authentication performed by the Go middleware may throw a Gitlab::Auth::MissingPersonalAccessTokenError. Respond to this error with 401 Unauthorized instead of letting it bubble up and end up as a 500 Internal Server Error response. Changelog: changed
Showing
Please register or sign in to comment