Commit 9251f4c7 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Include SQL error in warning

parent 871457d0
......@@ -349,7 +349,7 @@ bool KStarsData::readCityData()
citydb.setDatabaseName(dbfile);
if (citydb.open() == false)
{
qWarning() << "Unable to open city database file " << dbfile << endl;
qWarning() << "Unable to open city database file " << dbfile << citydb.lastError().text() << endl;
return false;
}
......
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