Fixed rescuing Exception
This commit is contained in:
committed by
GitHub
parent
509d1ac086
commit
3e34834c78
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user