Skip to content

Commit

Permalink
Ignore the stacktrace in Chromatic snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Jul 4, 2022
1 parent c36d10c commit 9be5035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/interactions/src/components/InteractionsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const InteractionsPanel: React.FC<InteractionsPanelProps> = React.memo(
This story threw an error after it finished rendering which means your interactions
couldn&apos;t be run. Go to this story&apos;s play function in {fileName} to fix.
</CaughtExceptionDescription>
<CaughtExceptionStack>
<CaughtExceptionStack data-chromatic="ignore">
{caughtException.stack || `${caughtException.name}: ${caughtException.message}`}
</CaughtExceptionStack>
</CaughtException>
Expand Down

0 comments on commit 9be5035

Please sign in to comment.