SourceCode/Bond/BondEq/BondEqDlg.cpp
@@ -186,11 +186,19 @@
   // 设置运行日志模块的数据库连接
   SystemLogManager& logManager = SystemLogManager::getInstance();
   logManager.setDatabase(db);
   logManager.setDatabase(db.get());
   // 初始化运行日志表
   if (!logManager.initializeLogTable()) {
      AfxMessageBox("初始化系统日志表失败!");
   try {
      if (!logManager.initializeLogTable()) {
         AfxMessageBox("初始化系统日志表失败!");
         return FALSE;
      }
   }
   catch (const std::exception& ex) {
      CString errorMsg;
      errorMsg.Format(_T("初始化系统日志表失败:%s"), CString(ex.what()));
      AfxMessageBox(errorMsg, MB_ICONERROR);
      return FALSE;
   }