Handle errors is toolbit json more gracefully

This commit is contained in:
sliptonic
2020-11-15 18:22:45 -06:00
parent aa59e98b37
commit 472cb83ae7
2 changed files with 14 additions and 8 deletions
+1
View File
@@ -367,6 +367,7 @@ class ToolBit(object):
def Declaration(path):
PathLog.track(path)
with open(path, 'r') as fp:
return json.load(fp)