Skip to content

Commit bc8f7af

Browse files
committed
Print error message, when syncDatumTransform sqlite query fails
1 parent ab5dfff commit bc8f7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgscoordinatereferencesystem.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@ bool QgsCoordinateReferenceSystem::syncDatumTransform( const QString& dbPath )
20302030

20312031
if ( sqlite3_exec( db, sql.toUtf8(), 0, 0, 0 ) != SQLITE_OK )
20322032
{
2033-
QgsDebugMsg( "Error" );
2033+
QgsDebugMsg( QString( "Error [%1]" ).arg( sqlite3_errmsg( db ) ) );
20342034
}
20352035
}
20362036

0 commit comments

Comments
 (0)