mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Add debug message to transaction
This commit is contained in:
parent
842c17c10b
commit
70775f0b5f
@ -123,6 +123,8 @@ bool QgsTransaction::addLayer( const QString& layerId )
|
||||
//connection string not compatible
|
||||
if ( QgsDataSourceURI( layer->source() ).connectionInfo() != mConnString )
|
||||
{
|
||||
QgsDebugMsg( QString( "Couldn't start transaction because connection string for layer %1 : '%2' does not match '%3'" ).arg(
|
||||
layerId, QgsDataSourceURI( layer->source() ).connectionInfo(), mConnString ) );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user