Skip to content
Permalink
Browse files

Print error message, when syncDatumTransform sqlite query fails

  • Loading branch information
m-kuhn committed Nov 14, 2013
1 parent ab5dfff commit bc8f7afc5f4d62fce9bcb7a5fac694c2ca54dc88
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -2030,7 +2030,7 @@ bool QgsCoordinateReferenceSystem::syncDatumTransform( const QString& dbPath )

if ( sqlite3_exec( db, sql.toUtf8(), 0, 0, 0 ) != SQLITE_OK )
{
QgsDebugMsg( "Error" );
QgsDebugMsg( QString( "Error [%1]" ).arg( sqlite3_errmsg( db ) ) );
}
}

0 comments on commit bc8f7af

Please sign in to comment.
You can’t perform that action at this time.