From e78bc1b32f64898c25a1c7592e64a4d6c9533e6a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 19 Jan 2023 12:13:11 +0100 Subject: [PATCH] web/admin: improve display of system task exception Signed-off-by: Jens Langhammer --- web/src/admin/events/EventInfo.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/web/src/admin/events/EventInfo.ts b/web/src/admin/events/EventInfo.ts index 28a001be5..6c75a1fed 100644 --- a/web/src/admin/events/EventInfo.ts +++ b/web/src/admin/events/EventInfo.ts @@ -255,7 +255,7 @@ new?labels=bug,from_authentik&title=${encodeURIComponent(title)}

${t`Exception`}

- ${this.event.context.message} +
${this.event.context.message}
${this.defaultResponse()}`; @@ -263,7 +263,7 @@ new?labels=bug,from_authentik&title=${encodeURIComponent(title)} return html`

${t`Exception`}

- ${this.event.context.message || this.event.context.error} +
${this.event.context.message || this.event.context.error}

${t`Expression`}

@@ -393,6 +393,13 @@ new?labels=bug,from_authentik&title=${encodeURIComponent(title)} return html`${t`No additional data available.`}`; } return this.defaultResponse(); + case EventActions.SystemTaskException: + return html`
+
+

${t`Exception`}

+
${this.event.context.message}
+
+
`; default: return this.defaultResponse(); }