mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:25:10 +00:00
UI: Improve statistics update's error logging.
This commit is contained in:
parent
e3eb491008
commit
90623e69bc
@ -494,7 +494,8 @@ void StatManager::updateTrafficList(const QStmtList &insertStmtList,
|
||||
SqliteStmt *stmtInsert = insertStmtList.at(i);
|
||||
if (!updateTraffic(stmtInsert, inBytes, outBytes, appId)) {
|
||||
logCritical() << "Update traffic error:" << m_sqliteDb->errorMessage() << Qt::endl
|
||||
<< stmtInsert->expandedSql();
|
||||
<< "inBytes:" << inBytes << "outBytes:" << outBytes
|
||||
<< "appId:" << appId << "index:" << i;
|
||||
}
|
||||
}
|
||||
++i;
|
||||
|
Loading…
Reference in New Issue
Block a user