trying better logging
This commit is contained in:
parent
0b2e00b7d6
commit
8b16dd25e7
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class MessageHandler
|
|||
|
||||
http.errback {
|
||||
Rails.logger.info(http.response)
|
||||
Rails.logger.info("Failure from #{query.destination}, retrying...")
|
||||
Rails.logger.info("Failure from #{query.destination}, with #{http.inspect},retrying...")
|
||||
|
||||
query.try_count +=1
|
||||
@queue.push query unless query.try_count >= NUM_TRIES
|
||||
|
|
|
|||
Loading…
Reference in a new issue