From 2916965154b01b6a9adf90ce1df559d33b79fe8d Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Tue, 27 Dec 2022 15:11:34 +0000 Subject: [PATCH] added 'message' to 500.html --- templates/500.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/500.html b/templates/500.html index 17ea210..14bf1e9 100644 --- a/templates/500.html +++ b/templates/500.html @@ -3,5 +3,9 @@ GoWatch Error {{end}} {{define "content"}} -

Something went wrong, try again.

+{{ if .message }} +

{{ .message }}

+{{ else }} +

Something went wrong, try again.

+{{ end }} {{end}} \ No newline at end of file