diff --git a/src/Utils.php b/src/Utils.php index 83a0d61..3a017d0 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -151,7 +151,10 @@ public static function queryExistsByHash(string $hash, EntityManagerInterface $e } } } catch (DBALException $e) { - throw new \RuntimeException($e->getMessage(), $e->getCode(), $e); + $hashExist = false; + if (class_exists(Debugger::class)) { + Debugger::log($e); + } } if ($hashExist !== false) { $cache[$hash] = true;