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:
Conrad Irwin 2024-02-23 11:36:20 -07:00 committed by GitHub
parent 58fd84308d
commit c5bb032224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View file

@ -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
);