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

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related