hutschen / mv-tool-api

Measure tracking tool for the implementation of information security measures in projects
https://mv-tool.readthedocs.io
GNU Affero General Public License v3.0
2 stars 0 forks source link

JIRA Error Handling Issue When `error.text` Is Missing #155

Closed hutschen closed 1 year ago

hutschen commented 1 year ago

If there is no error text error.text, the error.url cannot be added to the detail, because detail is still None. Therefore, if error.text of the JIRAError is not present, a JIRA error handling error occurs.

https://github.com/hutschen/mv-tool-api/blob/8f0f7fcca5887af6e429cfb67e4c94f772a85cc6/mvtool/auth.py#L52-L59