Skip to content

Commit

Permalink
fix: Correct error message when no pre-aggregation partitions were bu…
Browse files Browse the repository at this point in the history
…ilt and API instance accessing those
  • Loading branch information
paveltiunov committed Aug 31, 2022
1 parent a6ea0f1 commit 82f2378
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1325,9 +1325,8 @@ export class PreAggregationPartitionRangeLoader {
const loadResults = resolveResults.filter(res => res !== null);
if (this.options.externalRefresh && loadResults.length === 0) {
throw new Error(
'Your configuration restricts query requests to only be served from ' +
'pre-aggregations, and required pre-aggregation partitions were not ' +
'built yet. Please make sure your refresh worker is configured ' +
'No pre-aggregation partitions were built yet for the pre-aggregation serving this query. ' +
'Please make sure your refresh worker is configured ' +
'correctly and running.'
);
}
Expand Down

0 comments on commit 82f2378

Please sign in to comment.