mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Updated error info per CRAFTY-CONTROLLER-T-57
This commit is contained in:
parent
f3b1d1e87d
commit
d501260ef9
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user