Skip to content

← All questions

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

Asked 5,040 views2 answers

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?

asked by Koen Vermeulen309 ·

2 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related