log message changed from debug to error

from_request implementation for Json should log message as error instead of debug while encountering error
This commit is contained in:
octave99 2020-05-19 21:21:44 +04:00 committed by GitHub
parent f8f5a82f40
commit d0892380a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ where
.limit(limit) .limit(limit)
.map(move |res| match res { .map(move |res| match res {
Err(e) => { Err(e) => {
log::debug!( log::error!(
"Failed to deserialize Json from payload. \ "Failed to deserialize Json from payload. \
Request path: {}", Request path: {}",
req2.path() req2.path()