fix(recorder): Sometimes serializing cache args and kwargs throws Exception

This commit is contained in:
Aditya Hase 2018-10-25 16:22:28 +05:30
parent fe60298b1d
commit 7a348d9dbb

View file

@ -61,8 +61,8 @@ def wrap_cache():
data = {
"function": function.__name__,
"args": args,
"kwargs": kwargs,
#"args": args,
#"kwargs": kwargs,
# result is sometimes a nested dict, those can't be sometimes JSON serialized.
# pickle.dumps seems like a nice way to go., but JS can't understand pickle.
# Skip result for now