This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Better Errors #255
ci-cd.yml
on: pull_request
install dependencies (pnpm)
9s
check linting (prettier)
23s
tests
55s
Annotations
10 errors and 6 warnings
Unhandled error:
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ RateLimit.sync src/Private/RateLimit.ts:19:25
❯ RateLimit.initialize src/Private/RateLimit.ts:34:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
This error originated in "src/API/getSkyblockAuctions.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "getSkyblockAuctions (All Pages)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ RateLimit.sync src/Private/RateLimit.ts:19:25
❯ RateLimit.initialize src/Private/RateLimit.ts:34:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
This error originated in "src/Private/RateLimit.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "RateLimit (Auto)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ RateLimit.sync src/Private/RateLimit.ts:19:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
This error originated in "src/Private/RateLimit.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "RateLimit (Auto)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
src/Client.test.ts > Client (No Key):
src/Client.test.ts#L10
AssertionError: expected [Function] to throw error including 'No API Key specified! For help join o…' but got 'No API Key specified! For help join o…'
Expected: "No API Key specified! For help join our Discord Server {discordInvite}"
Received: "No API Key specified! For help join our Discord Server https://discord.gg/NSEBNMM"
❯ src/Client.test.ts:10:32
|
src/API/getActiveHouses.test.ts > getActiveHouses (raw):
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ getActiveHouses.execute src/API/getActiveHouses.ts:14:17
❯ src/API/getActiveHouses.test.ts:8:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
|
src/API/getActiveHouses.test.ts > getActiveHouses:
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ getActiveHouses.execute src/API/getActiveHouses.ts:14:17
❯ src/API/getActiveHouses.test.ts:17:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
|
src/API/getBoosters.test.ts > getBoosters (raw):
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ getBoosters.execute src/API/getBoosters.ts:14:17
❯ src/API/getBoosters.test.ts:9:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
|
src/API/getBoosters.test.ts > getBoosters:
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ getBoosters.execute src/API/getBoosters.ts:14:17
❯ src/API/getBoosters.test.ts:18:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
|
src/API/getGameCounts.test.ts > getGameCounts (raw):
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ getGameCounts.execute src/API/getGameCounts.ts:14:17
❯ src/API/getGameCounts.test.ts:8:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
|
src/API/getGameCounts.test.ts > getGameCounts:
src/Private/RequestHandler.ts#L67
HypixelAPIReborn: Invalid API Key!
❯ RequestHandler.request src/Private/RequestHandler.ts:67:35
❯ getGameCounts.execute src/API/getGameCounts.ts:14:17
❯ src/API/getGameCounts.test.ts:17:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'Hypixel API Returned 403 Invalid API Key.' }
|
install dependencies (pnpm)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (eslint)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (eslint):
src/Client.ts#L50
'Client' was used before it was defined
|
check linting (prettier)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|