This commit is contained in:
David Brazda
2023-11-23 12:16:45 +01:00
parent 159302d168
commit 9571a7e0e6
4 changed files with 37 additions and 22 deletions
+4 -1
View File
@@ -50,7 +50,10 @@ class Trade_Offline_Streamer(Thread):
pass
def run(self):
self.main()
try:
self.main()
except Exception as e:
print("ERROR IN TRADE OFFLINE STREAMER"+str(e)+format_exc())
# #create new asyncio loop in the thread
# loop = asyncio.new_event_loop()
# asyncio.set_event_loop(loop)