[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:
Adriaan de Groot 2019-05-20 16:37:20 +02:00
parent 62328c9940
commit 667f78c016

View File

@ -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" ) );