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 8653b37 commit 92871f2Copy full SHA for 92871f2
django_unicorn/cacher.py
@@ -77,6 +77,10 @@ def __enter__(self):
77
raise UnicornCacheError(
78
f"Cannot cache component '{type(component)}' because it is not picklable: {type(e)}: {e}"
79
) from e
80
+ except RecursionError as e:
81
+ logger.warning(
82
+ f"Cannot cache component '{type(component)}' because it is not picklable: {type(e)}: {e}"
83
+ )
84
85
return self
86
0 commit comments