forked from extern/easydiffusion
Print traceback when printing a fatal message
This commit is contained in:
parent
b47ff071da
commit
c91348dae7
@ -1,5 +1,6 @@
|
|||||||
from os import path
|
from os import path
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import traceback
|
||||||
|
|
||||||
from installer import app
|
from installer import app
|
||||||
|
|
||||||
@ -50,6 +51,7 @@ def modules_exist_in_env(modules, env_dir_path=app.project_env_dir_path):
|
|||||||
|
|
||||||
def fail_with_install_error(error_msg):
|
def fail_with_install_error(error_msg):
|
||||||
try:
|
try:
|
||||||
|
log(traceback.format_exc())
|
||||||
log(f'''
|
log(f'''
|
||||||
|
|
||||||
Error: {error_msg}. Sorry about that, please try to:
|
Error: {error_msg}. Sorry about that, please try to:
|
||||||
|
Loading…
Reference in New Issue
Block a user