Skip to content

← All questions

Why does the HAR strict failure have no code, hint or docs link like every other error?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Small thing, but it broke a script. Every failure I have seen so far comes out shaped like this, and our CI wrapper parses the code out of it:

text
✖ CONFIG_INVALID: Layer "api" is not enabled for project demo-shop (layers: ui).

A strict HAR miss comes out shaped like nothing:

text
Error: HAR strict mode: no recorded entry for POST https://jsonplaceholder.typicode.com/posts 0736c37d8e28 in /srv/ci/projects/demo-shop/har/staging/posts.api.har

No code, no hint line, no docs line. Is that intentional, or is it just one that has not been converted yet?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related