Skip to content

Commit 177bc99

Browse files
mach0m-kuhn
authored andcommitted
Add Filename to error message
1 parent b29a10e commit 177bc99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/qgsproject.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -765,8 +765,8 @@ bool QgsProject::read()
765765
tr( "%1 at line %2 column %3" ).arg( errorMsg ).arg( line ).arg( column ) );
766766
#endif
767767

768-
QString errorString = tr( "Project file read error: %1 at line %2 column %3" )
769-
.arg( errorMsg ).arg( line ).arg( column );
768+
QString errorString = tr( "Project file read error in file %1: %2 at line %3 column %4" )
769+
.arg( mFile.fileName() ).arg( errorMsg ).arg( line ).arg( column );
770770

771771
QgsDebugMsg( errorString );
772772

0 commit comments

Comments
 (0)