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.
PicklingError
1 parent d622d95 commit 12fe307Copy full SHA for 12fe307
django_unicorn/utils.py
@@ -65,5 +65,9 @@ def get_cacheable_component(component):
65
raise UnicornCacheError(
66
"Cannot cache component because it is not picklable."
67
) from e
68
+ except pickle.PicklingError as e:
69
+ raise UnicornCacheError(
70
+ "Cannot cache component because it is not picklable."
71
+ ) from e
72
73
return component
0 commit comments