kbase / relation_engine

Repository containing the KBase Relation Engine API, specs, and other related files.
MIT License
3 stars 11 forks source link

Improve ensure specs error handling #123

Open n1mus opened 2 years ago

n1mus commented 2 years ago

Upon deployment, some local specs are checked against the ArangoDB server specs:

Currently, upon deployment, misconfigured analyzers and collection indexes will cause the RE to crash, but also to do so before outputting a neat list of misconfigured specs, so that the exceptions raised will probably be useless to anyone except the person familiar with those specs and the spec checking.

Screenshots of premature exceptions upon encountering misconfigured specs: