feat(log): display warning in log if body parsing failed
This commit is contained in:
parent
91e80cfbf4
commit
1d2924b7ef
@ -195,7 +195,7 @@ impl HTTPRequest {
|
||||
let body = HTTPBody::try_from(rp.2);
|
||||
match body {
|
||||
Ok(v) => request.body = Some(v),
|
||||
Err(e) => log::error!("{}", e),
|
||||
Err(e) => log::warn!("{}", e),
|
||||
}
|
||||
|
||||
return Ok(request);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user