修訂 | f3da320b249fec28845edd332779190e1449618d (tree) |
---|---|
時間 | 2016-07-12 15:26:27 |
作者 | Tatsuki Sugiura <sugi@nemu...> |
Commiter | Tatsuki Sugiura |
Tiny fix in error message.
@@ -92,7 +92,7 @@ module OSDN | ||
92 | 92 | return |
93 | 93 | end |
94 | 94 | |
95 | - logger.debug "Access token has been expired. Refresh access token..." | |
95 | + logger.debug "Access token has been expired. Trying to refresh token..." | |
96 | 96 | api = OSDNClient::DefaultApi.new |
97 | 97 | begin |
98 | 98 | set_credential api.token(CLI.client_id, CLI.client_secret, grant_type: 'refresh_token', refresh_token: credential.refresh_token) |
@@ -106,7 +106,7 @@ module OSDN | ||
106 | 106 | logger.fatal "Please login again." |
107 | 107 | return |
108 | 108 | end |
109 | - logger.debug "Access token refreshed successfully." | |
109 | + logger.debug "Access token is refreshed successfully." | |
110 | 110 | end |
111 | 111 | |
112 | 112 | def set_credential(token, update_expires = true) |