mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[libcalamaresui] Improve explainYamlException
- overloads for common kinds of label - improve error reporting when reading settings and branding files
This commit is contained in:
parent
e5ca8e091f
commit
fdda0e14aa
4 changed files with 20 additions and 5 deletions
|
@ -156,12 +156,12 @@ Settings::Settings( const QString& settingsFilePath,
|
|||
}
|
||||
catch ( YAML::Exception& e )
|
||||
{
|
||||
cWarning() << "YAML parser error " << e.what() << "in" << file.fileName();
|
||||
CalamaresUtils::explainYamlException( e, ba, file.fileName() );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cWarning() << "Cannot read " << file.fileName();
|
||||
cWarning() << "Cannot read settings file" << file.fileName();
|
||||
}
|
||||
|
||||
s_instance = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue