add logging output for pushover agent

for debugging purposes there should be a logging output. however the pushover does not have a log output. i added a simple logging output.
This commit is contained in:
Moritz Stückler 2017-08-07 00:57:37 +02:00 committed by GitHub
parent db5c7ab056
commit 309ae9cc1c

View file

@ -108,6 +108,7 @@ module Agents
def send_notification(post_params)
response = HTTParty.post(API_URL, query: post_params)
puts response
log "Sent notification with message \"#{post_params['message']}\" to \"#{post_params['user']}\""
end
end
end