diff options
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index e3a5eb55..2a6bf088 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -728,13 +728,29 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => { /> </Box> ) : isAuthenticating ? ( - <AuthInProgress - onTimeout={() => { - setAuthError('Authentication timed out. Please try again.'); - cancelAuthentication(); - openAuthDialog(); - }} - /> + <> + <AuthInProgress + onTimeout={() => { + setAuthError('Authentication timed out. Please try again.'); + cancelAuthentication(); + openAuthDialog(); + }} + /> + {showErrorDetails && ( + <OverflowProvider> + <Box flexDirection="column"> + <DetailedMessagesDisplay + messages={filteredConsoleMessages} + maxHeight={ + constrainHeight ? debugConsoleMaxHeight : undefined + } + width={inputWidth} + /> + <ShowMoreLines constrainHeight={constrainHeight} /> + </Box> + </OverflowProvider> + )} + </> ) : isAuthDialogOpen ? ( <Box flexDirection="column"> <AuthDialog |
