mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[libcalamaresui] if there's a YAML exception in branding, bail
- all kinds of type errors result in bailing out, but a totally broken branding file does not?
This commit is contained in:
parent
62328c9940
commit
667f78c016
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ Branding::Branding( const QString& brandingFilePath,
|
||||||
catch ( YAML::Exception& e )
|
catch ( YAML::Exception& e )
|
||||||
{
|
{
|
||||||
CalamaresUtils::explainYamlException( e, ba, file.fileName() );
|
CalamaresUtils::explainYamlException( e, ba, file.fileName() );
|
||||||
|
bail( e.what() );
|
||||||
}
|
}
|
||||||
|
|
||||||
QDir translationsDir( componentDir.filePath( "lang" ) );
|
QDir translationsDir( componentDir.filePath( "lang" ) );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue