mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
Failures of tea's own API requests now name what was missing or refused instead of "resource or API endpoint unavailable": issue #999 not found in alice/project repository alice/nope not found on http://localhost:3001 (or you don't have access) issues are disabled for bob/project #1 in alice/project is an issue, not a pull request; view it with: tea issue view 1 alice/old-stuff is archived (read-only); unarchive it with: tea repo edit ... A 404 on a repository endpoint looks the repository up once to tell a missing or hidden repository from a disabled feature, an empty repository or an issue number given to a pull request command. Refusals get their next step, a rejected GITEA_TOKEN and unreachable servers are named, and timeoutError words an expired --timeout. Errors a command already wrapped with its own context, and raw tea api responses, keep their wording. Ctrl-C and SIGTERM exit with 130 without printing an error, and a declined confirmation prints "Canceled." with exit code 3. Signed-off-by: bircni <bircni@icloud.com>