Track jsontool load error

This commit is contained in:
Alhaziel01
2020-04-23 16:10:32 +02:00
parent 4c91972105
commit 4c894f5d20
+2
View File
@@ -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