Skip to content

Commit

Permalink
Improving front end message
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Jun 4, 2022
1 parent d1c14c9 commit 48a355c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iiif-presentation-validator.py
Expand Up @@ -110,6 +110,11 @@ def check_manifest(self, data, version, url=None, warnings=[]):
raise ValidationError("Manifest @id ({}) is different to the location where it was retrieved ({})".format(mf.id, url))
# Passed!
okay = 1
except KeyError as e:
print ('Failed falidation due to:')
traceback.print_exc()
err = 'Failed due to KeyError {}, check trace for details'.format(e)
okay = 0
except Exception as e:
# Failed
print ('Failed falidation due to:')
Expand Down

0 comments on commit 48a355c

Please sign in to comment.