throwing update function into infinite loop with super rough exception logging

This commit is contained in:
Lucas committed 2021-10-09 19:33:24 -04:00
1 parent fa71c8bfaa
commit 9271dc34b9
2 files changed
+8 -6

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ class MTA(object):
def start_updates(self):
print("starting updates")
raise Exception("Testing failure case")
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
loop.run_until_complete(self._get_updates())