dbmdz / iiif-server-hymir

Hymir is a Java based IIIF Server. It is based on "IIIF Image API Java Libraries" and "IIIF Presentation API Java Libraries" projects (see https://github.com/dbmdz)
MIT License
27 stars 7 forks source link

Error in manifest files should appear in log file #9

Closed VonUniGE closed 5 years ago

VonUniGE commented 6 years ago

With the default log levels, if a manifest file contains an error nothing appears in the log.

Step to reproduce: 1) Edit one of your manifest file 2) Change "@type": "dctypes:Image" to "@type": "dctypes:Illustration" 3) Get the manifest iiif/presentation/v2/1234567890/manifest 4) Observe that no error message appears in the log and no manifest is returned.

Desired behavior: An error message should appear in the log

datazuul commented 5 years ago

Manifests that can not be parsed with iiif-apis https://github.com/dbmdz/iiif-apis will log an error message with upcoming 4.0.0 release