prism
prism copied to clipboard
Error output missing on docker logs for >=3.2.4
Describe the bug Parsing the OAS document does not output errors for Docker images tagged 3.2.4 or above. Last working version found was 3.2.3 To Reproduce
- Give the wrong yaml/json name for the spec
- docker run --init -P stoplight/prism:3.3.3 mock -h 0.0.0.0 api.oas2.ymol
- No error outputted
Expected behavior
- Give the wrong yaml/json name for the spec
- docker run --init -P stoplight/prism:3.2.3 mock -h 0.0.0.0 api.oas2.ymol
- Error outputted as
✖ fatal ENOENT: no such file or directory, open 'api.oas2.ym**o**l'
Environment (remove any that are not applicable):
- Library version: [e.g. 3.2.4]
- OS: [e.g. Windows 10]
- Docker version: 19.03.6, build 369ce74a3c
Additional context This applies to parsing errors as well.