Skip to content

Commit

Permalink
Added file path to debug msg output on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 9, 2017
1 parent bcb48f2 commit 2741be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrdataitems.cpp
Expand Up @@ -362,7 +362,7 @@ QGISEXTERN QgsDataItem *dataItem( QString path, QgsDataItem *parentItem )

if ( ! hDataSource )
{
QgsDebugMsg( QString( "OGROpen error # %1 : %2 " ).arg( CPLGetLastErrorNo() ).arg( CPLGetLastErrorMsg() ) );
QgsDebugMsg( QString( "OGROpen error # %1 : %2 on %3" ).arg( CPLGetLastErrorNo() ).arg( CPLGetLastErrorMsg() ).arg( path ) );
return nullptr;
}

Expand Down

0 comments on commit 2741be0

Please sign in to comment.