Let's see if the test passes
soaricarus_api CI / Rustfmt (pull_request) Successful in 2m27s
soaricarus_api CI / Test Suite (pull_request) Failing after 3m59s
soaricarus_api CI / Check (pull_request) Successful in 4m24s
soaricarus_api CI / Clippy (pull_request) Successful in 2m10s
soaricarus_api CI / build (pull_request) Successful in 3m15s

This commit is contained in:
2026-08-06 17:39:46 -04:00
parent 78d74cf6f3
commit a05dae25d7
+4
View File
@@ -216,9 +216,13 @@ pub mod endpoint {
Err(err) => match err { Err(err) => match err {
labyrinth::Error::Info(err_str) => { labyrinth::Error::Info(err_str) => {
eprintln!("Error: {:?}", err_str); eprintln!("Error: {:?}", err_str);
response.message = err_str.to_string();
return (axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::Json(response));
} }
labyrinth::Error::SError(err_s) => { labyrinth::Error::SError(err_s) => {
eprintln!("Error: {:?}", err_s); eprintln!("Error: {:?}", err_s);
response.message = err_s.to_string();
return (axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::Json(response));
} }
}, },
} }