prism icon indicating copy to clipboard operation
prism copied to clipboard

Error output missing on docker logs for >=3.2.4

Open GitTiago opened this issue 6 years ago • 0 comments

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

  1. Give the wrong yaml/json name for the spec
  2. docker run --init -P stoplight/prism:3.3.3 mock -h 0.0.0.0 api.oas2.ymol
  3. No error outputted

Expected behavior

  1. Give the wrong yaml/json name for the spec
  2. docker run --init -P stoplight/prism:3.2.3 mock -h 0.0.0.0 api.oas2.ymol
  3. 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.

GitTiago avatar Apr 24 '20 10:04 GitTiago