Add a try/catch block around callback calling
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user