refactor(email): improve error handling by passing context to handleError

This commit is contained in:
Andras Bacsai 2025-03-28 18:44:03 +01:00
parent f060b7d3d2
commit 39cb270eb7

View file

@ -235,7 +235,7 @@ function () {
throw new \Exception('Too many messages sent!');
}
} catch (\Throwable $e) {
return handleError($e);
return handleError($e, $this);
}
}
}