better error for import issue
This commit is contained in:
parent
c5e3c36a0c
commit
29f94ddc85
@ -30,10 +30,11 @@ import sys
|
|||||||
from config.hook_implementation import FsfwHookBase
|
from config.hook_implementation import FsfwHookBase
|
||||||
try:
|
try:
|
||||||
from tmtccmd.runner import run_tmtc_commander, initialize_tmtc_commander
|
from tmtccmd.runner import run_tmtc_commander, initialize_tmtc_commander
|
||||||
except ImportError:
|
except ImportError as error:
|
||||||
run_tmtc_commander = None
|
run_tmtc_commander = None
|
||||||
initialize_tmtc_commander = None
|
initialize_tmtc_commander = None
|
||||||
print("Python tmtccmd submodule not installed")
|
print(error)
|
||||||
|
print("Python tmtccmd submodule could not be imported")
|
||||||
print("Install with \"cd tmtccmd && python3 -m pip install -e .\" for interactive installation")
|
print("Install with \"cd tmtccmd && python3 -m pip install -e .\" for interactive installation")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 0d91e26bc576c2dea7769d16d3b5a8a8bc10482c
|
Subproject commit e0b36e1e479a8608f4268cede6a6add8d433b436
|
Loading…
x
Reference in New Issue
Block a user