From fff410fe134cb7874a486a2055babb619619504e Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Tue, 7 Apr 2020 16:02:35 -0400 Subject: [PATCH] Displays all error text --- src/app/api-errors/api-errors.component.html | 8 ++++++-- src/app/api-errors/api-errors.component.scss | 9 +++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/app/api-errors/api-errors.component.html b/src/app/api-errors/api-errors.component.html index 66f807c..f51de56 100644 --- a/src/app/api-errors/api-errors.component.html +++ b/src/app/api-errors/api-errors.component.html @@ -4,14 +4,18 @@ - +

{{e.code}}

{{e.status_code}}

-
{{e.message}}
{{e.task_name}} ({{e.task_id}})
Task ID: {{e.task_id}}
Task Name: {{e.task_name}}
File: {{e.file_name}}
Tag: {{e.tag}}
+ +
+ {{e.message}} +
+
diff --git a/src/app/api-errors/api-errors.component.scss b/src/app/api-errors/api-errors.component.scss index 69d1104..eda4773 100644 --- a/src/app/api-errors/api-errors.component.scss +++ b/src/app/api-errors/api-errors.component.scss @@ -4,4 +4,13 @@ border-left: 4px solid $brand-warning; background-color: $brand-warning-light; cursor: default; + + .mat-line { + text-overflow: initial; + height: auto; + + code { + white-space: normal; + } + } }