Skip to content

Commit 0c1ec44

Browse files
committed
Fix logger usage after merge.
1 parent e96e2dd commit 0c1ec44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/service-core/src/storage/mongo/MongoBucketBatch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export class MongoBucketBatch implements BucketStorageBatch {
244244
existing_buckets = [];
245245
existing_lookups = [];
246246
// Log to help with debugging if there was a consistency issue
247-
micro.logger.warn(
247+
logger.warn(
248248
`Cannot find previous record for update on ${record.sourceTable.qualifiedName}: ${beforeId} / ${record.before?.id}`
249249
);
250250
} else {
@@ -260,7 +260,7 @@ export class MongoBucketBatch implements BucketStorageBatch {
260260
existing_buckets = [];
261261
existing_lookups = [];
262262
// Log to help with debugging if there was a consistency issue
263-
micro.logger.warn(
263+
logger.warn(
264264
`Cannot find previous record for delete on ${record.sourceTable.qualifiedName}: ${beforeId} / ${record.before?.id}`
265265
);
266266
} else {

0 commit comments

Comments
 (0)