forked from TrueCloudLab/distribution
Merge pull request #706 from BrianBland/authLoggingWarnLevel
Reduces log level of auth error lines from error->warn
This commit is contained in:
commit
c4208c4cce
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ func (app *App) dispatcher(dispatch dispatchFunc) http.Handler {
|
||||||
context := app.context(w, r)
|
context := app.context(w, r)
|
||||||
|
|
||||||
if err := app.authorized(w, r, context); err != nil {
|
if err := app.authorized(w, r, context); err != nil {
|
||||||
ctxu.GetLogger(context).Errorf("error authorizing context: %v", err)
|
ctxu.GetLogger(context).Warnf("error authorizing context: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue