YAML: on error, report filename along with location
This commit is contained in:
parent
154aa4b0bd
commit
a9e1f48c51
@ -179,7 +179,7 @@ Branding::Branding( const QString& brandingFilePath,
|
||||
}
|
||||
catch ( YAML::Exception& e )
|
||||
{
|
||||
cDebug() << "WARNING: YAML parser error " << e.what();
|
||||
cDebug() << "WARNING: YAML parser error " << e.what() << "in" << file.fileName();
|
||||
}
|
||||
|
||||
QDir translationsDir( componentDir.filePath( "lang" ) );
|
||||
|
@ -156,7 +156,7 @@ Settings::Settings( const QString& settingsFilePath,
|
||||
}
|
||||
catch ( YAML::Exception& e )
|
||||
{
|
||||
cDebug() << "WARNING: YAML parser error " << e.what();
|
||||
cDebug() << "WARNING: YAML parser error " << e.what() << "in" << file.fileName();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user