From 3a2bc803c8eb331de4a04d747246772335001060 Mon Sep 17 00:00:00 2001 From: Stanislav Romanov Date: Wed, 14 Sep 2022 10:37:11 +0300 Subject: [PATCH] Add error message --- app/components/task-toast.hbs | 17 +++++++++++++++-- app/components/task-toast.js | 4 ++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/components/task-toast.hbs b/app/components/task-toast.hbs index 7615204..d58707d 100644 --- a/app/components/task-toast.hbs +++ b/app/components/task-toast.hbs @@ -1,13 +1,26 @@ {{#if this.icon}} -
+
{{/if}}
Task {{this.taskType}} Uid:{{this.taskUid}}
- Status: {{this.taskStatus}} +
+ Status: + {{this.taskStatus}} +
+ {{#if this.task.error}} + Error: {{this.task.error.message}} + {{/if}}