aboutsummaryrefslogtreecommitdiff
path: root/server/src/ui/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/ui/error.rs')
-rw-r--r--server/src/ui/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/ui/error.rs b/server/src/ui/error.rs
index f1c9d3a..9e9f7e5 100644
--- a/server/src/ui/error.rs
+++ b/server/src/ui/error.rs
@@ -25,7 +25,7 @@ static ERROR_IMAGE: LazyLock<Vec<u8>> = LazyLock::new(|| {
});
#[catch(default)]
-pub fn r_catch<'a>(status: Status, _request: &Request) -> RawHtml<String> {
+pub fn r_catch(status: Status, _request: &Request) -> RawHtml<String> {
catch_with_message(format!("{status}"))
}
fn catch_with_message(message: String) -> RawHtml<String> {