Skip to content

Commit 2fbe5ec

Browse files
fix(ui): correctly fallback to error message when traceback is empty string
1 parent ba4d278 commit 2fbe5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/queue/components/QueueList/QueueItemDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const QueueItemComponent = ({ queueItemDTO }: Props) => {
8989
<Heading size="sm" color="error.400">
9090
{t('common.error')}
9191
</Heading>
92-
<pre>{queueItem?.error_traceback ?? queueItem?.error_message}</pre>
92+
<pre>{queueItem?.error_traceback || queueItem?.error_message}</pre>
9393
</Flex>
9494
)}
9595
<Flex layerStyle="second" h={512} w="full" borderRadius="base" alignItems="center" justifyContent="center">

0 commit comments

Comments
 (0)