color change for when you exit the program by hitting CNTRL-C

This commit is contained in:
ekultek 2017-11-25 20:02:27 -06:00
parent e5abed8835
commit a6ab0f57a1

View file

@ -533,9 +533,10 @@ if __name__ == "__main__":
))
request_issue_creation()
except KeyboardInterrupt:
logger.error(set_color(
"user aborted process...", level=40
logger.fatal(set_color(
"user aborted process...", level=50
))
shutdown()
except UnboundLocalError:
logger.warning(set_color(
"do not interrupt the browser when selenium is running, "