Skip to content

Commit

Permalink
chore(zero-cache): move the query into a log context param (#3369)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkgnotic authored Dec 16, 2024
1 parent 6e56964 commit d18c912
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,9 @@ class ChangeMaker {
event,
).map(change => ['data', change] satisfies Data);

this.#lc.info?.(
`${changes.length} schema change(s) for ${event.context.query}`,
changes,
);
this.#lc
.withContext('query', event.context.query)
.info?.(`${changes.length} schema change(s)`, changes);

return changes;
}
Expand Down

0 comments on commit d18c912

Please sign in to comment.