diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-10 20:19:52 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-10 20:19:52 +0200 |
| commit | e7a8da644ea58fc5c79e77c40cf3919bc1684e73 (patch) | |
| tree | 3a6d2d023c7b3e55e582f34aa2f25ec512182419 /server.js | |
| parent | de9cc7d14801572f45a555b34f5b0d06403eb4b8 (diff) | |
| download | bridge-e7a8da644ea58fc5c79e77c40cf3919bc1684e73.tar.gz bridge-e7a8da644ea58fc5c79e77c40cf3919bc1684e73.zip | |
log ratelimit remaining as intrelease/2.3.0
Diffstat (limited to 'server.js')
| -rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ async function apiRequest(endpoint, shard, options) { } } finally { logger.info("API response", - { status: response.statusCode, connection_start: response.timings.connect, connection_end: response.timings.end, ratelimit_remaining: response.headers["x-ratelimit-remaining"] }); + { status: response.statusCode, connection_start: response.timings.connect, connection_end: response.timings.end, ratelimit_remaining: parseInt(response.headers["x-ratelimit-remaining"]) }); } } |
