summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/StepContainer.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-14 13:45:10 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-14 13:45:10 -0700
commitf0b2597895920b7d714b53f2d70a3a5858f89d42 (patch)
treedf3e5d44b40e65a6853f2922f4cd7a8a76715e10 /extension/react-app/src/components/StepContainer.tsx
parenta16101b49950fba146e8627ffbce3a34e61bb061 (diff)
downloadsncontinue-f0b2597895920b7d714b53f2d70a3a5858f89d42.tar.gz
sncontinue-f0b2597895920b7d714b53f2d70a3a5858f89d42.tar.bz2
sncontinue-f0b2597895920b7d714b53f2d70a3a5858f89d42.zip
insidious client_state vs application_state err
Diffstat (limited to 'extension/react-app/src/components/StepContainer.tsx')
-rw-r--r--extension/react-app/src/components/StepContainer.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx
index 6fa4ba13..14e9b854 100644
--- a/extension/react-app/src/components/StepContainer.tsx
+++ b/extension/react-app/src/components/StepContainer.tsx
@@ -253,9 +253,12 @@ function StepContainer(props: StepContainerProps) {
)}
{props.historyNode.observation?.error ? (
- <pre className="overflow-x-scroll">
- {props.historyNode.observation.error as string}
- </pre>
+ <details>
+ <summary>View Traceback</summary>
+ <pre className="overflow-x-scroll">
+ {props.historyNode.observation.error as string}
+ </pre>
+ </details>
) : (
<StyledMarkdownPreview
source={props.historyNode.step.description || ""}