You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the software we use has a line that goes like the following:
warnings, errors=check_config(self.ucfg)
print_config_report(warnings, errors)
iflen(errors) >0:
self.log.error("Error in config file. Check report above.")
sys.exit() # Or raises an exception
A nice recommendation by @scotthavens is to add the latter part to print_conifg_report and enable it with a flag to incur an exception in the event errors are which would then look like for the end use:
Description
Most of the software we use has a line that goes like the following:
A nice recommendation by @scotthavens is to add the latter part to print_conifg_report and enable it with a flag to incur an exception in the event errors are which would then look like for the end use:
The text was updated successfully, but these errors were encountered: