diff --git a/server/executor/trace_poller.go b/server/executor/trace_poller.go index 73b8791d58..b44620d43a 100644 --- a/server/executor/trace_poller.go +++ b/server/executor/trace_poller.go @@ -216,7 +216,7 @@ func (tp tracePoller) handleTraceDBError(job PollingRequest, err error) (bool, s reason := "" if errors.Is(err, connection.ErrTraceNotFound) { - reason = "Timed out without finding trace" + reason = fmt.Sprintf("Timed out without finding trace, trace id \"%s\"", run.TraceID.String()) err = fmt.Errorf("timed out waiting for traces after %s", pp.Timeout) fmt.Println("[TracePoller] Timed-out", err) diff --git a/web/src/components/RunEvents/RunEventDataStore.tsx b/web/src/components/RunEvents/RunEventDataStore.tsx index 6efa815b29..4db904b792 100644 --- a/web/src/components/RunEvents/RunEventDataStore.tsx +++ b/web/src/components/RunEvents/RunEventDataStore.tsx @@ -1,4 +1,5 @@ import {Typography} from 'antd'; +import {Link} from 'react-router-dom'; import TestConnectionNotification from 'components/TestConnectionNotification/TestConnectionNotification'; import {IPropsEvent} from './RunEvent'; import * as S from './RunEvents.styled'; @@ -10,11 +11,19 @@ const RunEventDataStore = ({event}: IPropsEvent) => ( {event.description} {!!event.dataStoreConnection && ( - - {event.dataStoreConnection?.allPassed - ? 'Data store configuration is valid.' - : 'Data store configuration is not valid.'} - + {event.dataStoreConnection?.allPassed ? ( + Data store configuration is valid. + ) : ( + + + Data store configuration is not valid. + + + You can go to the settings page to fix it. + + + )} + )} diff --git a/web/src/components/RunEvents/RunEvents.styled.ts b/web/src/components/RunEvents/RunEvents.styled.ts index 997decae6c..4c616ec3de 100644 --- a/web/src/components/RunEvents/RunEvents.styled.ts +++ b/web/src/components/RunEvents/RunEvents.styled.ts @@ -88,3 +88,10 @@ export const LoadingIcon = styled(LoadingOutlined)` export const Paragraph = styled(Typography.Paragraph)` text-align: center; `; + +export const InvalidDataStoreContainer = styled.div` + display: flex; + align-items: center; + gap: 2px; + margin-bottom: 5px; +`;