From 7a348d9dbb5dee092e2cc81a78bd1b911180681f Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Thu, 25 Oct 2018 16:22:28 +0530 Subject: [PATCH] fix(recorder): Sometimes serializing cache args and kwargs throws Exception --- frappe/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/app.py b/frappe/app.py index 367d883ae7..e125aa5dd7 100644 --- a/frappe/app.py +++ b/frappe/app.py @@ -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