mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Tools: avoid errors for catching bare exception
This commit is contained in:
committed by
Peter Barker
parent
75af5ac540
commit
bc1aa19b28
@@ -405,7 +405,7 @@ def main():
|
||||
update_parameter_documentation(doc_dict, args.target, args.sort)
|
||||
if args.verbose:
|
||||
print_read_only_params(doc_dict)
|
||||
except Exception as exp: # pylint: disable=W0718
|
||||
except Exception as exp: # pylint: disable=W0718 # noqa: BLE001
|
||||
logging.fatal(exp)
|
||||
exit(1) # pylint: disable=R1722
|
||||
|
||||
|
||||
Reference in New Issue
Block a user