fixed error exception

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-14 22:07:19 +01:00
parent d58a5d53ef
commit cc169e6e71
1 changed files with 2 additions and 2 deletions

View File

@ -139,11 +139,11 @@ def start_mqtt_publishers(universe_count):
break break
except Exception as e: except Exception as e:
print(f"Error in universes {universe_list}: {e}") print(e)
except KeyboardInterrupt: except KeyboardInterrupt:
break break
except Exception as e: except Exception as e:
print(f"Error in universes {universe_list}: {e}") print(e)
if __name__ == "__main__": if __name__ == "__main__":
start_mqtt_publishers(universe_count) start_mqtt_publishers(universe_count)