From de7166238e49928cd14121b0569f3bd8269c91df Mon Sep 17 00:00:00 2001 From: Daniel Morell Date: Fri, 29 Jul 2022 15:59:20 -0500 Subject: [PATCH] Fixed #51 Made catch more broad --- Factories/RollbarHandlerFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Factories/RollbarHandlerFactory.php b/Factories/RollbarHandlerFactory.php index 53e2b82..67e417e 100755 --- a/Factories/RollbarHandlerFactory.php +++ b/Factories/RollbarHandlerFactory.php @@ -30,7 +30,7 @@ public function __construct(ContainerInterface $container) $serializer = $container->get('serializer'); return \json_decode($serializer->serialize($user, 'json'), true, 512, JSON_THROW_ON_ERROR); } - } catch (\Exception $exception) { + } catch (\Throwable $exception) { // Ignore } };