From 16b750a2f8832b6375a6bb151376491d32e1ba90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Duarte?= Date: Tue, 31 Mar 2026 15:15:00 +0100 Subject: [PATCH] Log custom solver errors on quoting --- crates/driver/src/infra/api/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/driver/src/infra/api/error.rs b/crates/driver/src/infra/api/error.rs index 10eb6b0808..0b6529fa88 100644 --- a/crates/driver/src/infra/api/error.rs +++ b/crates/driver/src/infra/api/error.rs @@ -113,6 +113,7 @@ impl From for (axum::http::StatusCode, axum::Json) { if let quote::Error::Solver(ref solver_err) = value && let Some(custom_err) = solver_err.custom_error() { + tracing::warn!(err=?custom_err, "received custom solver error, mapping to internal errors"); let (kind, description) = map_custom_solver_error(custom_err); return ( axum::http::StatusCode::BAD_REQUEST,