feat: improved exception handling
This commit is contained in:
@@ -52,7 +52,7 @@ class ResetPasswordController extends AbstractController
|
||||
$this->logger->info('Initiated password reset', [
|
||||
'email' => $form->get('email')->getData(),
|
||||
]);
|
||||
} catch (ApiClientException|ResponseParserException $e) {
|
||||
} catch (ApiClientException $e) {
|
||||
$this->addFlash('error', $e->getMessage());
|
||||
$this->logger->error('Error initiating password reset', [
|
||||
'email' => $form->get('email')->getData(),
|
||||
|
||||
Reference in New Issue
Block a user