Add System Exit exception handler to the Manifest parser

parent ec10c20b
......@@ -308,6 +308,11 @@ types:[<type 'int'>]
self.config_file + ":\n" + str(error_syntax))
logging.error(content)
quit()
except SystemExit as error_exit:
logging.error("Exit requested by the manifest file " +
self.config_file + ":\n" + str(error_exit))
logging.error(content)
quit()
except:
logging.error("Encountered unexpected error while parsing " +
self.config_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment