Closed roel-de-vries closed 8 months ago
Thanks :) that it weird, I would have thought that the inner try clause would catch it...
The inner try-catch of $this->execute
did/does actually catch the errors. But they aren't re-thrown, so the extra try-catch in the Albert Heijn handler never got an error to handle - the response for failed execute
calls is null
and therefore valid :)
Ah that makes sense, thank you
Hi there, again 😅
Back with another small fix. The invalid refresh token handling was wrong for the AH provider.
I placed it inside a try-catch, not knowing the
$this->execute
is already wrapped in a try-catch with areturn null
fallback. So the AH provider never went in the catch, where the handling should've happen.