BOM发料对比
This commit is contained in:
@@ -314,7 +314,8 @@ def fetch_issue_receipt_incremental():
|
||||
log("OK", f"🎉 发料单增量同步大功告成!总计新增了 {total_inserted} 条记录入库!")
|
||||
|
||||
except Exception as e:
|
||||
log("ERR", f"发生全局异常: {e}")
|
||||
import traceback
|
||||
log("ERR", f"发生全局异常: {e}\n{traceback.format_exc()}")
|
||||
finally:
|
||||
if 'conn' in locals() and conn:
|
||||
conn.close()
|
||||
|
||||
Reference in New Issue
Block a user