Commit 44d7a558 by mingyuan

show better

parent 398b6e65
......@@ -39,7 +39,7 @@ module Dingtalk::Api
app.refresh_access_token unless app.access_token_valid?
yield params.merge!(access_token: app.access_token)
rescue => e
Rails.logger.debug e.backtrace
Rails.logger.debug e.full_message
app.refresh_access_token
retry unless (tries -= 1).zero?
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment