Revision fb2cce84
Von Christian Ehringfeld vor mehr als 6 Jahren hinzugefügt
src/logger.cpp | ||
---|---|---|
QString Logger::generateLogMsg(const QSqlError &e) const {
|
||
QString r = "";
|
||
if (e.isValid()) {
|
||
r = ",\"error\":\"" + e.text() + "\",\"code\":\"" + e.number() + "\"";
|
||
r = ",\"error\":\"" + e.text() + "\",\"code\":\"" + e.nativeErrorCode() + "\"";
|
||
}
|
||
return r;
|
||
}
|
Auch abrufbar als: Unified diff
removed usage of deprecated method