mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): correctly fallback to error message when traceback is empty string
This commit is contained in:
parent
08a42c3c03
commit
dc78a0e699
@ -89,7 +89,7 @@ const QueueItemComponent = ({ queueItemDTO }: Props) => {
|
|||||||
<Heading size="sm" color="error.400">
|
<Heading size="sm" color="error.400">
|
||||||
{t('common.error')}
|
{t('common.error')}
|
||||||
</Heading>
|
</Heading>
|
||||||
<pre>{queueItem?.error_traceback ?? queueItem?.error_message}</pre>
|
<pre>{queueItem?.error_traceback || queueItem?.error_message}</pre>
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
<Flex layerStyle="second" h={512} w="full" borderRadius="base" alignItems="center" justifyContent="center">
|
<Flex layerStyle="second" h={512} w="full" borderRadius="base" alignItems="center" justifyContent="center">
|
||||||
|
Loading…
Reference in New Issue
Block a user