When a repo cannot be found (e.g. prismic repo view -r linear-gc31), the CLI throws an unhandled NotFoundRequestError instead of printing a user-friendly message.
Current behavior:
node:internal/modules/run_main:107
triggerUncaughtException(
^
Za [NotFoundRequestError]: fetch failed: https://linear-gc31.prismic.io/syncState
at Ja (file:///Users/angeloashmore/.npm/_npx/980839ecb914adeb/node_modules/prismic/dist/string-CoMDRfNA.mjs:167:54249)
...
Expected behavior:
A clear, human-readable error message (e.g. Repository "linear-gc31" not found.).
When a repo cannot be found (e.g.
prismic repo view -r linear-gc31), the CLI throws an unhandledNotFoundRequestErrorinstead of printing a user-friendly message.Current behavior:
Expected behavior:
A clear, human-readable error message (e.g.
Repository "linear-gc31" not found.).