clamsproject / clams-python

CLAMS SDK for python
http://sdk.clams.ai/
Apache License 2.0
4 stars 1 forks source link

clams app does not return "error views" when there's an error in runtime paramer #232

Closed keighrim closed 4 days ago

keighrim commented 4 days ago

Bug Description

When there's a problem in the runtime parameters, and hence when the set of parameters can't be refined, a CLAMS app will return HTML document generated by flask, instead of a MMIF with an error view that reports the problems in the runtime parameters.

Reproduction steps

The easiest way to reproduce this is by running an app with a required parameter and not passing that required param. For example, this one; https://apps.clams.ai/dbpedia-spotlight-wrapper/v1.2/

Expected behavior

No response

Log output

No response

Screenshots

No response

Additional context

No response