Skip to content
Permalink
Browse files

Add debug message to transaction

  • Loading branch information
m-kuhn committed Nov 16, 2015
1 parent 842c17c commit 70775f0b5f82354552787fc4ea1c87fe8b998b38
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgstransaction.cpp
@@ -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;
}

0 comments on commit 70775f0

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