From 7ec74973864efe1a9095683170b12083a18dc945 Mon Sep 17 00:00:00 2001 From: "Lukas K." Date: Mon, 11 Sep 2023 20:32:38 +0200 Subject: [PATCH] fab output window: properly show Glib errors --- src/imp/fab_output_window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/imp/fab_output_window.cpp b/src/imp/fab_output_window.cpp index ed6bb1aa..fff14968 100644 --- a/src/imp/fab_output_window.cpp +++ b/src/imp/fab_output_window.cpp @@ -414,6 +414,9 @@ void FabOutputWindow::generate() catch (const std::exception &e) { odb_done_revealer_controller.show_error("Error: " + std::string(e.what())); } + catch (const Glib::Error &e) { + odb_done_revealer_controller.show_error("Error: " + e.what()); + } catch (...) { odb_done_revealer_controller.show_error("unknown error"); }