[patch] Use structured fields for adapter debug and info logs #46

Merged
brian merged 2 commits from cursor/structured-adapter-logging into main 2026-07-10 14:06:25 +02:00
Showing only changes of commit 82a702db0c - Show all commits
+3 -1
View File
@@ -237,7 +237,9 @@ def test_should_log_warning_when_getting_nonexistent_object(
assert result is None
assert "Object not found" in caplog.text
assert object_name in caplog.text
assert adapter._bucket_name in caplog.text
bucket_name = adapter._bucket_name
assert bucket_name is not None
assert bucket_name in caplog.text
def test_should_reraise_s3error_other_than_no_such_key() -> None: