[Fix]Close #832
This commit is contained in:
parent
2ac9457151
commit
3cfa40a6ef
@ -246,7 +246,7 @@ class DrEngine(object):
|
|||||||
try:
|
try:
|
||||||
self.mainEngine.dbInsert(dbName, collectionName, d)
|
self.mainEngine.dbInsert(dbName, collectionName, d)
|
||||||
except DuplicateKeyError:
|
except DuplicateKeyError:
|
||||||
self.writeDrLog(u'键值重复插入失败,报错信息:' %traceback.format_exc())
|
self.writeDrLog(u'键值重复插入失败,报错信息:%s' %traceback.format_exc())
|
||||||
except Empty:
|
except Empty:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user