HMCL-dev / HMCL-dev/HMCL

[Feature] 未配置 CurseForge API Key 导致世界下载 403 错误及报错信息需优化

Open
#5,217 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary

未配置 CurseForge API Key 导致世界下载 403 错误及报错信息需优化

原因 | Reason

在未配置 CurseForge API Key 的情况下,世界下载功能会直接向 CurseForge 发起请求,从而返回 403 错误。建议对该逻辑进行优化,在缺少必要凭证时避免发起请求。此外在无可用下载源时优化报错信息。

Image
详情 | Description

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the world-download flow and its CurseForge request handling; trace how the CurseForge API key is loaded and how the no-download-source error is produced. Done means missing credentials no longer trigger a CurseForge request, and the no-source error clearly explains the problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.