mirror of https://github.com/fafhrd91/actix-web
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:
parent
f8f5a82f40
commit
d0892380a8
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue