lib/bot/adapters/kik.rb in bot-0.0.18 vs lib/bot/adapters/kik.rb in bot-0.0.19
- old
+ new
@@ -18,9 +18,14 @@
password: config[:bot_token],
url: MESSAGING_URL,
payload: { messages: messages }.to_json,
headers: { content_type: :json }
})
+ rescue Exception => e
+ Rails.logger.error "\n\n\nError:\n"
+ Rails.logger.error e.response
+ Rails.logger.error "\n\n\n"
+ raise e
end
end
end
end