fix(quit): Replace with sys.exit() (#1220)

This commit is contained in:
Pepe Fagoaga
2022-06-22 16:48:10 +02:00
committed by GitHub
parent 438ef9f348
commit af2bdc37ea
5 changed files with 20 additions and 13 deletions

View File

@@ -1,3 +1,5 @@
import sys
from lib.logger import logger
from providers.aws.aws_provider import current_audit_info
@@ -92,4 +94,4 @@ try:
iam_client = IAM(current_audit_info)
except Exception as error:
logger.critical(f"{error.__class__.__name__} -- {error}")
quit()
sys.exit()