Skip to content

Commit d4c116c

Browse files
committed
sqld: use debug for error messages
1 parent 9543ae9 commit d4c116c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libsql-server/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub enum Error {
9797
trait ResponseError: std::error::Error {
9898
fn format_err(&self, status: StatusCode) -> axum::response::Response {
9999
let json = serde_json::json!({ "error": self.to_string() });
100-
tracing::error!("HTTP API: {}, {}", status, json);
100+
tracing::error!("HTTP API: {}, {:?}", status, self);
101101
(status, axum::Json(json)).into_response()
102102
}
103103
}

0 commit comments

Comments
 (0)