Skip to content

Commit fa31345

Browse files
committed
Revert "Remove value from ObjectCrudException exception message"
This reverts commit 443d833.
1 parent 00891f5 commit fa31345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffsync/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def sync_model( # pylint: disable=too-many-branches, unused-argument
422422
raise ObjectNotDeleted(f"Failed to delete {self.model_class.get_type()} {ids} - not found!")
423423
dst_model = dst_model.delete()
424424
else:
425-
raise ObjectCrudException(f'Unknown action "{self.action}"!')
425+
raise ObjectCrudException(f'Unknown action "{self.action.value}"!')
426426

427427
if dst_model is not None:
428428
status, message = dst_model.get_status()

0 commit comments

Comments
 (0)