We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c435f38 commit 0fb40d3Copy full SHA for 0fb40d3
request/extractor.go
@@ -58,7 +58,7 @@ func (e MultiExtractor) ExtractToken(req *http.Request) (string, error) {
58
for _, extractor := range e {
59
if tok, err := extractor.ExtractToken(req); tok != "" {
60
return tok, nil
61
- } else if err != ErrNoTokenInRequest {
+ } else if !errors.Is(err, ErrNoTokenInRequest) {
62
return "", err
63
}
64
0 commit comments