Updated error info per CRAFTY-CONTROLLER-T-57

This commit is contained in:
computergeek125 2021-04-03 13:29:10 -05:00
parent f3b1d1e87d
commit d501260ef9
3 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,8 @@ try:
import requests import requests
except ModuleNotFoundError as e: except ModuleNotFoundError as e:
logger.critical("Import Error: Unable to load {} module".format(e, e.name)) logger.critical("Import Error: Unable to load {} module".format(e.name), exc_info=True)
console.critical("Import Error: Unable to load {} module".format(e, e.name)) console.critical("Import Error: Unable to load {} module".format(e.name), exc_info=True)
sys.exit(1) sys.exit(1)

View File

@ -27,8 +27,8 @@ try:
from argon2 import PasswordHasher from argon2 import PasswordHasher
except ModuleNotFoundError as e: except ModuleNotFoundError as e:
logger.critical("Import Error: Unable to load {} module".format(e, e.name)) logger.critical("Import Error: Unable to load {} module".format(e.name), exc_info=True)
console.critical("Import Error: Unable to load {} module".format(e, e.name)) console.critical("Import Error: Unable to load {} module".format(e.name), exc_info=True)
sys.exit(1) sys.exit(1)
class Helpers: class Helpers:

View File

@ -20,8 +20,8 @@ try:
import schedule import schedule
except ModuleNotFoundError as e: except ModuleNotFoundError as e:
logger.critical("Import Error: Unable to load {} module".format(e, e.name)) logger.critical("Import Error: Unable to load {} module".format(e.name), exc_info=True)
console.critical("Import Error: Unable to load {} module".format(e, e.name)) console.critical("Import Error: Unable to load {} module".format(e.name), exc_info=True)
sys.exit(1) sys.exit(1)
scheduler_intervals = { 'seconds', scheduler_intervals = { 'seconds',