fix: serialize the error properly

This commit is contained in:
dusk 2024-06-11 00:35:01 +03:00
parent c088ccdd3b
commit 0e0cbba624
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -45,7 +45,7 @@ impl IntoResponse for AppError {
body style=(crate::BODY_STYLE) { body style=(crate::BODY_STYLE) {
p style=(format!("{} font-size: 2em;", crate::IMG_STYLE)) { p style=(format!("{} font-size: 2em;", crate::IMG_STYLE)) {
"Something went wrong" "Something went wrong"
self.internal; (self.internal.to_string());
} }
a style=(format!("{} right: 0;", crate::ABOUT_STYLE)) href="https://gaze.systems" target="_blank" { a style=(format!("{} right: 0;", crate::ABOUT_STYLE)) href="https://gaze.systems" target="_blank" {
"website made by dusk" "website made by dusk"