Skip to content

Commit e9d2a5f

Browse files
committed
fix
1 parent 957d7af commit e9d2a5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/anyvlm/anyvar/http_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def put_objects(self, objects: list[VrsVariation]) -> None:
4343
objects_to_submit = []
4444
for vrs_object in objects:
4545
if not vrs_object.id:
46-
_logger.error("Provided variant %s has no VRS ID: %s")
46+
_logger.error("Provided variant %s has no VRS ID", vrs_object)
4747
raise UnidentifiedObjectError
4848
objects_to_submit.append(
4949
vrs_object.model_dump(exclude_none=True, mode="json")

src/anyvlm/anyvar/python_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def put_objects(self, objects: list[VrsVariation]) -> None:
3434
"""
3535
for variant in objects:
3636
if not variant.id:
37-
_logger.error("Provided variant %s has no VRS ID: %s")
37+
_logger.error("Provided variant %s has no VRS ID", variant)
3838
raise UnidentifiedObjectError
3939
self.av.put_objects(objects) # type: ignore[reportArgumentType]
4040

0 commit comments

Comments
 (0)