Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Add better error informations
Browse files Browse the repository at this point in the history
  • Loading branch information
pasnox committed Aug 20, 2012
1 parent b25fca9 commit 91df38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syntax/SyntaxDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ QHash<QString, Syntax::Document> Syntax::Document::open( const QStringList& file
}

if ( error ) {
*error = QString( "%1: Can't parse file %2" ).arg( Q_FUNC_INFO ).arg( filePath );
*error = QString( "%1: Can't parse file %2: %3" ).arg( Q_FUNC_INFO ).arg( filePath ).arg( xmlReader.errorHandler()->errorString() );
}

#if !defined( QT_NO_DEBUG )
Expand Down

0 comments on commit 91df38d

Please sign in to comment.