Path: LGTM - don't catch BaseException

This commit is contained in:
Chris Hennes
2021-09-19 14:37:11 -05:00
parent 985438f2b2
commit 38eb31e01d
2 changed files with 2 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ def processArguments(argstring):
SHOW_EDITOR = False
if args.no_warns:
SKIP_WARNS = True
except:
except Exception:
return False
return True

View File

@@ -319,7 +319,7 @@ def dump(obj):
print('==============\n', attr_text)
if 'mm/s' in attr_text:
print('===> metric values <===')
except: # Insignificant errors
except Exception: # Insignificant errors
# print('==>', obj, attr)
pass