From 139a3531a4721dc4aa98487d9f23dc81881f290e Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Tue, 2 Sep 2025 17:00:30 +0200 Subject: [PATCH] do not allow exception in app --- Linphone/core/App.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linphone/core/App.cpp b/Linphone/core/App.cpp index 796bf4f4..c8e9c1f0 100644 --- a/Linphone/core/App.cpp +++ b/Linphone/core/App.cpp @@ -973,9 +973,9 @@ bool App::notify(QObject *receiver, QEvent *event) { try { done = QApplication::notify(receiver, event); } catch (const std::exception &ex) { - lCritical() << log().arg("Exception has been catch in notify: %1").arg(ex.what()); + lFatal() << log().arg("Exception has been catch in notify: %1").arg(ex.what()); } catch (...) { - lCritical() << log().arg("Generic exeption has been catch in notify"); + lFatal() << log().arg("Generic exeption has been catch in notify"); } if (event->type() == QEvent::MouseButtonPress) { auto window = findParentWindow(receiver);