Open-Attestation/open-attestation-cli

Bug: Exception thrown when wrapping a file without the "issuers" section

skydudie opened this issue · 2 comments

When wrapping an .oa file using the FHIR schema, an exception is thrown if the .oa file is missing the "issuers" section.

To Reproduce
Steps to reproduce the behaviour:

  1. Create raw document conforming to the FHIR schema but leave out the "issuers" section
  2. Exception is thrown instead of an error message. See below

Exception
image

Expected Error
image

Other Information
Included a sample of the FHIR document without the issuers section
Missing Issuer Section.txt

Hi, I tried with the latest version and it looks like it's fixed. This is what I get:

image

Can you confirm it works for you as well ?

stale closing