Fix error logging (#8295)
and some more clickhouse type mismatches, Co-Authored-By: Marshall <marshall@zed.dev> Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
parent
58fd84308d
commit
c5bb032224
3 changed files with 10 additions and 10 deletions
|
@ -64,7 +64,7 @@ impl IntoResponse for Error {
|
|||
}
|
||||
Error::Database(error) => {
|
||||
log::error!(
|
||||
"HTTP error {}: {}",
|
||||
"HTTP error {}: {:?}",
|
||||
StatusCode::INTERNAL_SERVER_ERROR,
|
||||
&error
|
||||
);
|
||||
|
@ -72,7 +72,7 @@ impl IntoResponse for Error {
|
|||
}
|
||||
Error::Internal(error) => {
|
||||
log::error!(
|
||||
"HTTP error {}: {}",
|
||||
"HTTP error {}: {:?}",
|
||||
StatusCode::INTERNAL_SERVER_ERROR,
|
||||
&error
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue