melexis / sphinx-traceability-extension

Traceability extension for Sphinx documentation generator
GNU General Public License v3.0
25 stars 9 forks source link

Raise error when traceability_external_relationship_to_url is incomplete #352

Closed JasperCraeghs closed 1 year ago

JasperCraeghs commented 1 year ago

Improved error reporting. When an external relationship was missing from traceability_external_relationship_to_url, Sphinx would crash without pointing out the issue.

exception: 'NoneType' object has no attribute 'parent'

It becomes:

exception: Failed to find relationship 'ext_robotframeworklog' in configuration variable 'traceability_external_relationship_to_url'