diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2022-12-05 15:36:49 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-12-05 15:36:49 +0100 |
commit | dd8d828414583d6993774240d76c2c2782627ef6 (patch) | |
tree | 35cac7a132f8fbab4babea2c7f71218ea1e0939a /NeoRuntime/Runtime/neo_runtime.py | |
parent | b1b8b9605d804793f557c92e2d7b1f659d8c99f0 (diff) | |
download | Luxcena-Neo-dd8d828414583d6993774240d76c2c2782627ef6.tar.gz Luxcena-Neo-dd8d828414583d6993774240d76c2c2782627ef6.zip |
Do some design improvements
Diffstat (limited to 'NeoRuntime/Runtime/neo_runtime.py')
-rw-r--r-- | NeoRuntime/Runtime/neo_runtime.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/NeoRuntime/Runtime/neo_runtime.py b/NeoRuntime/Runtime/neo_runtime.py index 7733a4b..c577444 100644 --- a/NeoRuntime/Runtime/neo_runtime.py +++ b/NeoRuntime/Runtime/neo_runtime.py @@ -204,7 +204,11 @@ class NeoRuntime: def __module_loop(self): - self.__module_entry_instance.on_start() + try: + self.__module_entry_instance.on_start() + except Exception as e: + traceback.print_exc() + sys.exit(1) self.__module_last_tick = time.perf_counter() self.__module_last_second = time.perf_counter() |