diff options
Diffstat (limited to 'openbb_platform/core/openbb_core/app/static/utils/decorators.py')
-rw-r--r-- | openbb_platform/core/openbb_core/app/static/utils/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbb_platform/core/openbb_core/app/static/utils/decorators.py b/openbb_platform/core/openbb_core/app/static/utils/decorators.py index d82f90d5a6b..0b2ea4f0ddd 100644 --- a/openbb_platform/core/openbb_core/app/static/utils/decorators.py +++ b/openbb_platform/core/openbb_core/app/static/utils/decorators.py @@ -57,7 +57,7 @@ def exception_handler(func: Callable[P, R]) -> Callable[P, R]: while tb.tb_next is not None: tb = tb.tb_next - if isinstance(e, ValidationError): + if isinstance(e, ValidationError) and "Data" not in e.title: error_list = [] validation_error = f"{e.error_count()} validations error(s)" for err in e.errors(include_url=False): |