Commit 2417fbcc authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Better error message

parent ca77abbc
......@@ -435,7 +435,7 @@ int QueryPerformer::insertPackage(SQLiteConnection &dbConnection, Package* p)
dbConnection.query("INSERT INTO licensed ('package', 'license') VALUES (" + QString::number(id) + ", '" + license + "');");
}
} catch (SQLiteException& e) {
akabeiDebug() << "Error while inserting package in database failed for" << p->name() << ": " << e.what();
akabeiDebug() << "Error while inserting package in database failed for " << p->name() << ": " << e.what();
return SQLITE_ABORT;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment