Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Michael Pfaff | 84c3cada2c | |
Michael Pfaff | cec213adda |
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tide_tracing"
|
name = "tide_tracing"
|
||||||
version = "0.6.2"
|
version = "0.6.3"
|
||||||
authors = ["Michael Pfaff <michael@pfaff.dev>"]
|
authors = ["Michael Pfaff <michael@pfaff.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -190,7 +190,7 @@ impl LogMiddleware {
|
||||||
let status = res.status();
|
let status = res.status();
|
||||||
match res.error() {
|
match res.error() {
|
||||||
Some(e) => {
|
Some(e) => {
|
||||||
error!("Response with internal error: {e}");
|
error!(status = %status, "Response with internal error: {e:?}");
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
debug!(status = %status, "Response");
|
debug!(status = %status, "Response");
|
||||||
|
|
Loading…
Reference in New Issue