Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ private static <T extends SlackApiTextResponse> T handleIOException(String teamI
private static void logSlackApiException(String teamId, String methodName, SlackApiException e) {
if (e.getResponse().code() == 429) {
String retryAfterSeconds = e.getResponse().header("Retry-After");
log.error("Got a rate-limited response from {} API (team: {}, error: {}, retry-after: {})",
// As long as you use this executor, the API client automatically retries the same request for you
log.warn("Got a rate-limited response from {} API (team: {}, error: {}, retry-after: {})",
methodName,
teamId,
e.getMessage(),
Expand Down