mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
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:
parent
db5c7ab056
commit
309ae9cc1c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue