From 4c894f5d20b0eab45effb79a6b965f5545b1f113 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 23 Apr 2020 16:10:32 +0200 Subject: [PATCH] Track jsontool load error --- core/jsontools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/jsontools.py b/core/jsontools.py index 07733fd8..d99a175e 100644 --- a/core/jsontools.py +++ b/core/jsontools.py @@ -6,6 +6,7 @@ import traceback from platformcode import logger +from inspect import stack try: import json @@ -43,6 +44,7 @@ def load(*args, **kwargs): except: logger.error("**NOT** able to load the JSON") logger.error(traceback.format_exc()) + logger.error('ERROR STACK ' + str(stack()[1][3])) value = {} return value