From 28785330782e003bfa86302e4b61cd768f2ed881 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Wed, 4 Oct 2023 02:27:35 +0400 Subject: [PATCH] Re-throw original exception in Linux notification's StartServiceAsync --- .../SourceFiles/platform/linux/notifications_manager_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index ad0ca8fd7..eddd32dc8 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -135,7 +135,7 @@ void StartServiceAsync(Fn callback) { if (!ranges::contains( NotSupportedErrors, errorName)) { - throw e; + throw; } } });