From 667f78c0162ffd727590e7b7cc9e2682469de95c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 20 May 2019 16:37:20 +0200 Subject: [PATCH] [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? --- src/libcalamaresui/Branding.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcalamaresui/Branding.cpp b/src/libcalamaresui/Branding.cpp index 4fb2721d8..6b2266c3b 100644 --- a/src/libcalamaresui/Branding.cpp +++ b/src/libcalamaresui/Branding.cpp @@ -197,6 +197,7 @@ Branding::Branding( const QString& brandingFilePath, catch ( YAML::Exception& e ) { CalamaresUtils::explainYamlException( e, ba, file.fileName() ); + bail( e.what() ); } QDir translationsDir( componentDir.filePath( "lang" ) );