WPManageNinja / ff-mautic-add-on

0 stars 2 forks source link

Updates in Error Handling #2

Open martin-neumann-gurus opened 5 months ago

martin-neumann-gurus commented 5 months ago

I corrected some errors in the error handling. Line 109 is an obvious misspelling. Line 110 and 111, I received $body['errors'][0]['message']. I dont know if there are cases that it comes with the index description, but I guess it is more likely a misspelling as well.

The rest is to implement proper error handling in the refresh token generation, which was not handled adequately.