Skip to content
Permalink
Browse files

Added file path to debug msg output on errors

  • Loading branch information
elpaso committed Aug 9, 2017
1 parent bcb48f2 commit 2741be0c0cc1760261f6fc344e243499a44ef12f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrdataitems.cpp
@@ -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;
}

0 comments on commit 2741be0

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