Lib throws error Cannot read properties of undefined (reading 'data') when have newErrorHandling is true
Moser-ss opened this issue · comments
The lib throws the error Cannot read properties of undefined (reading 'data')
when the newErrorHandling
is true
I believe the issue happens because the error object doesn't contain the response object
https://github.com/MrRefactoring/jira.js/blob/master/src/clients/baseClient.ts#L108
Hi @Moser-ss! Thank you for reporting!
Should work now (in v2.15.2)