Skip to content

Commit ad5c717

Browse files
committed
testing
1 parent a68d09f commit ad5c717

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymongo/asynchronous/mongo_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2578,6 +2578,8 @@ async def run(self) -> T:
25782578
# most likely be a waste of time.
25792579
raise
25802580
except PyMongoError as exc:
2581+
if self._operation == _Op.LIST_COLLECTIONS:
2582+
print(f"Error for list_collections: {exc}")
25812583
# Execute specialized catch on read
25822584
if self._is_read:
25832585
if isinstance(exc, (ConnectionFailure, OperationFailure)):

0 commit comments

Comments
 (0)