We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aca82a commit bc26240Copy full SHA for bc26240
src/utils.rs
@@ -1,3 +1,5 @@
1
+use crate::interactions::REPORT_TO;
2
+
3
use axum::{
4
http::StatusCode,
5
response::{IntoResponse, Response},
@@ -20,7 +22,7 @@ impl IntoResponse for AppError {
20
22
tracing::error!("{:?}", &self.0);
21
23
(
24
StatusCode::INTERNAL_SERVER_ERROR,
- format!("Something went wrong: {}", self.0),
25
+ format!("Something went wrong: {}\n\n{REPORT_TO}", self.0),
26
)
27
.into_response()
28
}
0 commit comments