Skip to content
Permalink
Browse files
Set errorMsg for connection not available
  • Loading branch information
domi4484 authored and nyalldawson committed Jan 13, 2022
1 parent 7a7fb28 commit e36655b965399e9f45c90c78a2168e4caa8b94e6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/postgres/qgspostgrestransaction.cpp
@@ -61,6 +61,7 @@ bool QgsPostgresTransaction::executeSql( const QString &sql, QString &errorMsg,
{
if ( !mConn )
{
errorMsg = tr( "Connection to the database not available" );
return false;
}

0 comments on commit e36655b

Please sign in to comment.