瀏覽代碼

operatoin error catched

Gamaliel Espinoza 8 年之前
父節點
當前提交
df5afeb70a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tools/fourier/cli.py

+ 3 - 0
tools/fourier/cli.py

@@ -169,6 +169,9 @@ def main():
                         already_indexed += 1
                         print('already indexed: {}'.format(filename))
 
+                    except sqlite3.OperationalError:
+                        print('commit failed, retrying in next loop')
+
                     except KeyboardInterrupt:
                         break