We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a498f6 commit 365cdd4Copy full SHA for 365cdd4
ayon_api/entity_hub.py
@@ -1468,14 +1468,18 @@ def lock(self) -> None:
1468
try:
1469
key = copy.deepcopy(key)
1470
except RecursionError:
1471
- print(f"Failed to create copy of key '{key}'!!!")
1472
- raise
+ raise RuntimeError(
+ f"Failed to create copy of key '{key}'"
1473
+ " because of recursion!!!"
1474
+ )
1475
1476
1477
orig_data[key] = copy.deepcopy(value)
1478
- print(f"Failed to create copy of value '{key}'!!!")
1479
1480
+ f"Failed to create copy of value '{key}'"
1481
1482
1483
1484
self._orig_data = orig_data
1485
0 commit comments