Skip to content

Commit

Permalink
Add code to log errors in v2 manifest generation
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Nov 2, 2023
1 parent e2e62ce commit b7115da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iiify/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ def manifest2(identifier):
page = int(page)
try:
return ldjsonify(create_manifest(identifier, domain=domain, page=page))
except:
except Exception as excpt:
print("Exception occurred in manifest2:")
print(excpt)
abort(404)


Expand Down

0 comments on commit b7115da

Please sign in to comment.