mirror of https://github.com/coddrago/Heroku
Add failed dependency to log
parent
7ad89e4995
commit
846981be66
|
@ -46,9 +46,10 @@ else:
|
||||||
log.init()
|
log.init()
|
||||||
try:
|
try:
|
||||||
from . import main
|
from . import main
|
||||||
except ModuleNotFoundError: # pragma: no cover
|
except ModuleNotFoundError as e: # pragma: no cover
|
||||||
print(
|
print(
|
||||||
"Error: you have not installed all dependencies correctly.\n"
|
"Error: you have not installed all dependencies correctly.\n"
|
||||||
|
f"{str(e)}\n"
|
||||||
"Attempting dependencies installation... Just wait."
|
"Attempting dependencies installation... Just wait."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -56,9 +57,10 @@ else:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from . import main
|
from . import main
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError as e2:
|
||||||
print(
|
print(
|
||||||
"Error while installing dependencies. Please, do this manually!\n"
|
"Error while installing dependencies. Please, do this manually!\n"
|
||||||
|
f"{str(e2)}\n"
|
||||||
"pip3 install -r requirements.txt"
|
"pip3 install -r requirements.txt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue