Skip to content

Commit

Permalink
improve log copy (#3932)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen authored Nov 6, 2023
1 parent 46da895 commit 8307267
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,11 @@ const Logs: React.FC<Props> = ({
</Message>
)}
{!isLoading && logs.length === 0 && selectedDate == null && isRunning && (
<Loading message={`Waiting ${totalSeconds} seconds for logs...`} />
<Loading message={`No logs emitted in the past 24 hours. Waiting ${totalSeconds} seconds for live logs...`} />
)}
{!isLoading && logs.length === 0 && selectedDate == null && !isRunning && (
<Message>
Timed out waiting for logs.
Timed out waiting for logs. To see earlier logs, select a time range.
<Highlight onClick={() => {
restartLogTimeout(dayjs().add(DEFAULT_LOG_TIMEOUT_SECONDS, 'seconds').toDate());
refresh({ isLive: selectedDate == null && timeRange?.endTime == null });
Expand Down

0 comments on commit 8307267

Please sign in to comment.