Skip to content

mrc-6085 Error handling #27

mrc-6085 Error handling

mrc-6085 Error handling #27

Triggered via pull request December 16, 2024 16:45
Status Failure
Total duration 22s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: src/errors/handleError.ts#L12
'_' is defined but never used
lint: src/routes.ts#L14
Replace `·throw·Error("Testing·error·behaviour");` with `⏎············throw·Error("Testing·error·behaviour");⏎·······`
lint: tests/integration/errors.spec.ts#L2
Replace `grout` with `·grout·`
lint: tests/integration/errors.spec.ts#L11
Replace `⏎············{·error:·"NOT_FOUND",·detail:·`Route·not·found:·${url}`·}⏎········` with `{·error:·"NOT_FOUND",·detail:·`Route·not·found:·${url}`·}`
lint: tests/integration/errors.spec.ts#L17
Insert `·`
lint: tests/integration/errors.spec.ts#L23
Replace `⏎············{·error:·"BAD_REQUEST",·detail:·error·}⏎········` with `{·error:·"BAD_REQUEST",·detail:·error·}`
lint: tests/integration/errors.spec.ts#L45
Delete `⏎`
lint: tests/integration/errors.spec.ts#L50
Replace `"/tile/gadm41/admin0/a/1/4",·"\"a\"·is·not·an·integer"` with `⏎············"/tile/gadm41/admin0/a/1/4",⏎············'"a"·is·not·an·integer'⏎········`
lint: tests/integration/errors.spec.ts#L54
Replace `"/tile/gadm41/admin0/3/1a/4",·"\"1a\"·is·not·an·integer"` with `⏎············"/tile/gadm41/admin0/3/1a/4",⏎············'"1a"·is·not·an·integer'⏎········`
lint: tests/integration/errors.spec.ts#L58
Replace `"/tile/gadm41/admin0/3/1/4.3",·"\"4.3\"·is·not·an·integer"` with `⏎············"/tile/gadm41/admin0/3/1/4.3",⏎············'"4.3"·is·not·an·integer'⏎········`
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636