From dc78a0e69924aa6ba397e2c94929b72dc28cb7f3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 24 May 2024 12:15:51 +1000 Subject: [PATCH] fix(ui): correctly fallback to error message when traceback is empty string --- .../src/features/queue/components/QueueList/QueueItemDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/queue/components/QueueList/QueueItemDetail.tsx b/invokeai/frontend/web/src/features/queue/components/QueueList/QueueItemDetail.tsx index e3f2436aca..d5b1e7dc59 100644 --- a/invokeai/frontend/web/src/features/queue/components/QueueList/QueueItemDetail.tsx +++ b/invokeai/frontend/web/src/features/queue/components/QueueList/QueueItemDetail.tsx @@ -89,7 +89,7 @@ const QueueItemComponent = ({ queueItemDTO }: Props) => { {t('common.error')} -
{queueItem?.error_traceback ?? queueItem?.error_message}
+
{queueItem?.error_traceback || queueItem?.error_message}
)}