[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
@ -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…
Reference in New Issue
Block a user