Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
postgres provider: fix some error messages
  • Loading branch information
jef-n committed Jul 8, 2013
1 parent 0a849be commit ca1192d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -794,11 +794,11 @@ PGresult *QgsPostgresConn::PQexec( QString query, bool logError )
}
else if ( logError )
{
QgsMessageLog::logMessage( tr( "Query failed: %1\nError: no result buffer" ).arg( query ) );
QgsMessageLog::logMessage( tr( "Query failed: %1\nError: no result buffer" ).arg( query ), tr( "PostGIS" ) );
}
else
{
QgsDebugMsg( tr( "Not logged query failed: %1\nError: no result buffer" ).arg( query ) );
QgsDebugMsg( QString( "Not logged query failed: %1\nError: no result buffer" ).arg( query ) );
}

return res;
Expand Down

0 comments on commit ca1192d

Please sign in to comment.