diff --git a/ui/src/logs/actions/index.ts b/ui/src/logs/actions/index.ts index a805777e4f..2bd233a5fa 100644 --- a/ui/src/logs/actions/index.ts +++ b/ui/src/logs/actions/index.ts @@ -279,11 +279,16 @@ export const incrementQueryCount = () => ({ export const executeQueriesAsync = () => async dispatch => { dispatch(incrementQueryCount()) - await Promise.all([ - dispatch(executeHistogramQueryAsync()), - dispatch(executeTableQueryAsync()), - ]) - dispatch(decrementQueryCount()) + try { + await Promise.all([ + dispatch(executeHistogramQueryAsync()), + dispatch(executeTableQueryAsync()), + ]) + } catch (ex) { + console.error('Could not make query requests') + } finally { + dispatch(decrementQueryCount()) + } } export const setSearchTermAsync = (searchTerm: string) => async dispatch => { diff --git a/ui/src/logs/components/LogsTable.tsx b/ui/src/logs/components/LogsTable.tsx index 02e09563b0..6c55f5323d 100644 --- a/ui/src/logs/components/LogsTable.tsx +++ b/ui/src/logs/components/LogsTable.tsx @@ -315,7 +315,7 @@ class LogsTable extends Component { if (this.isClickable(column)) { return (
{ } private get isSpecificTimeRange(): boolean { - return !!this.props.timeRange.upper + return !!getDeep(this.props, 'timeRange.upper', false) } private startUpdating = () => {