Skip to content

Commit d96ac6f

Browse files
committedFeb 23, 2024·
Fixed MongoDB reading input
1 parent f7ded59 commit d96ac6f

File tree

2 files changed

+2
-2
lines changed
  • mage_integrations/mage_integrations/destinations

2 files changed

+2
-2
lines changed
 

‎mage_integrations/mage_integrations/destinations/mongodb/target_mongodb/sinks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def process_batch(self, context: dict) -> None:
9393
try:
9494
find_id = ObjectId(find_id)
9595
except Exception:
96-
self.logger.warn(f"Malformed id: {find_id}.\
96+
self.logger.info(f"Malformed id: {find_id}.\
9797
Skipping this record.")
9898
continue
9999

‎mage_integrations/mage_integrations/destinations/sink.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def activate_version(self, new_version: int) -> None:
439439
new_version: The version number to activate.
440440
"""
441441
_ = new_version
442-
self.logger.warning(
442+
self.logger.info(
443443
"ACTIVATE_VERSION message received but not implemented by this target. "
444444
"Ignoring.",
445445
)

0 commit comments

Comments
 (0)