diff --git a/extensions/notifications/channels/pushover.rb b/extensions/notifications/channels/pushover.rb index b509b8b3f..50486b596 100644 --- a/extensions/notifications/channels/pushover.rb +++ b/extensions/notifications/channels/pushover.rb @@ -15,7 +15,7 @@ module Channels res = client.notify(@config.get('beef.extension.notifications.pushover.user_key'), message) print_error '[Notifications] Pushover notification failed' unless res.ok? - rescue Exception => e + rescue => e print_error "[Notifications] Pushover notification initialization failed: '#{e.message}'" end end