Skip to content

Commit

Permalink
fix: Consistent queryKey logging
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Apr 14, 2020
1 parent f331984 commit 5f1a632
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cubejs-query-orchestrator/orchestrator/QueryQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class QueryQueue {
return redisClient.optimisticQueryUpdate(queryKey, { cancelHandler }, processingId);
} catch (e) {
this.logger(`Error while query update`, {
queryKey,
queryKey: query.queryKey,
error: e.stack || e,
queuePrefix: this.redisQueuePrefix,
requestId: query.requestId
Expand Down Expand Up @@ -305,7 +305,8 @@ class QueryQueue {
} else {
this.logger('Skip processing', {
processingId,
queryKey,
queryKey: query && query.queryKey || queryKey,
requestId: query && query.requestId,
queuePrefix: this.redisQueuePrefix,
processingLockAcquired,
query,
Expand Down

0 comments on commit 5f1a632

Please sign in to comment.