diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-14 13:45:10 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-14 13:45:10 -0700 |
commit | c5102b0997baa81ce544514d6b5b4d5a2eae804f (patch) | |
tree | 667890758eadb0be303e42eb90a494f515dffaf2 /extension/react-app/src/components/StepContainer.tsx | |
parent | b19076ddb6d11acb5ffd54046d9e5cad549c00c1 (diff) | |
download | sncontinue-c5102b0997baa81ce544514d6b5b4d5a2eae804f.tar.gz sncontinue-c5102b0997baa81ce544514d6b5b4d5a2eae804f.tar.bz2 sncontinue-c5102b0997baa81ce544514d6b5b4d5a2eae804f.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.tsx | 9 |
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 || ""} |