Commit 3aa2a071 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Print exceptions when they happen

parent 50f07448
......@@ -43,7 +43,8 @@ def main():
socket.send_string(f"{topic} {stage_name}")
print(f"Sending event {stage_name} ({stage_mapped})")
except Exception as e:
pass
print("Exception occurred in callback")
print(e)
scene = conn.add_stream(getattr, conn.krpc, 'current_game_scene')
scene.add_callback(unlock)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment