Skip to content

Commit

Permalink
Add debug message to transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 16, 2015
1 parent 842c17c commit 70775f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgstransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 70775f0

Please sign in to comment.