Closed zzzz-ach closed 7 months ago
I'm experiencing the same issue. When awaiting the mangoPayClient.Users.createKycPageFromFile
method I cannot handle the errors properly (when the file is missing or is too small), as the success case returns noting as well.
Based on a quick look I think reject(resolveArgument)
is missing here. When I added it locally, the await createKycPageFromFile
throw an error as expected with the appropriate error message.
Hello @zzzz-ach & @david-kovacs-techmates thanks for the feedback. Just to confirm it will be fixed ASAP.
On version 1.42.1,
Default error handler in api config only console.log errors and does not reject or resolve anything when functions are called without callbacks. Previous behaviour was promise rejection.