Closed hutschen closed 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.
error.text
error.url
detail
None
JIRAError
https://github.com/hutschen/mv-tool-api/blob/8f0f7fcca5887af6e429cfb67e4c94f772a85cc6/mvtool/auth.py#L52-L59
If there is no error text
error.text
, theerror.url
cannot be added to thedetail
, because detail is stillNone
. Therefore, iferror.text
of theJIRAError
is not present, a JIRA error handling error occurs.https://github.com/hutschen/mv-tool-api/blob/8f0f7fcca5887af6e429cfb67e4c94f772a85cc6/mvtool/auth.py#L52-L59