Add a try/catch block around callback calling

This commit is contained in:
cncfanatics
2010-11-19 12:15:36 +01:00
parent 64edeac2ee
commit 811fe150a6

View File

@@ -328,7 +328,10 @@ class Market():
requests.append(price)
def cb():
callback(requests)
try:
callback(requests)
except:
pass
eos.db.commit()
self.priceWorkerThread.trigger(requests, cb)