Skip to content

Commit

Permalink
Fix logger usage after merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Jul 1, 2024
1 parent e96e2dd commit 0c1ec44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/service-core/src/storage/mongo/MongoBucketBatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export class MongoBucketBatch implements BucketStorageBatch {
existing_buckets = [];
existing_lookups = [];
// Log to help with debugging if there was a consistency issue
micro.logger.warn(
logger.warn(
`Cannot find previous record for update on ${record.sourceTable.qualifiedName}: ${beforeId} / ${record.before?.id}`
);
} else {
Expand All @@ -260,7 +260,7 @@ export class MongoBucketBatch implements BucketStorageBatch {
existing_buckets = [];
existing_lookups = [];
// Log to help with debugging if there was a consistency issue
micro.logger.warn(
logger.warn(
`Cannot find previous record for delete on ${record.sourceTable.qualifiedName}: ${beforeId} / ${record.before?.id}`
);
} else {
Expand Down

0 comments on commit 0c1ec44

Please sign in to comment.