From 63b56c09edf17253def40ab00ddefb0d21b106c6 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 31 Oct 2021 22:22:01 +0100 Subject: [PATCH] feat(core): wire up rendering error notification --- espanso/src/cli/worker/ui/notification.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/espanso/src/cli/worker/ui/notification.rs b/espanso/src/cli/worker/ui/notification.rs index 632e9cf..9d18479 100644 --- a/espanso/src/cli/worker/ui/notification.rs +++ b/espanso/src/cli/worker/ui/notification.rs @@ -68,4 +68,9 @@ impl<'a> espanso_engine::process::NotificationManager for NotificationManager<'a self.notify("Espanso disabled!") } } + + fn notify_rendering_error(&self) { + self + .notify("An error occurred during rendering, please examine the logs for more information."); + } }