Skip to content

Commit

Permalink
no fatal crash & update token
Browse files Browse the repository at this point in the history
  • Loading branch information
sqlerrorthing committed Jan 1, 2025
1 parent 2d84bfd commit e0b777e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def getContributors(repoOwner, repoName) {
.reversed()

} else {
throw new RuntimeException("Failed to collect contributors, github api responsed invalid status code: ${connection.responseCode}")
def error = connection.errorStream?.text ?: "No response details"
logger.log(LogLevel.ERROR, "Failed to collect contributors, github api responsed invalid status code: ${connection.responseCode}\n${error}")
return []
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ loader_version=0.16.9
min_loader_version=0.16.5

# Bypass github api ratelimit token
github_apikey_for_bypass_ratelimit_only=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
github_apikey_for_bypass_ratelimit_only=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

# Fabric API
fabric_version=0.111.0+1.21.4
Expand Down

0 comments on commit e0b777e

Please sign in to comment.