Loading src/UnicaenSynchro/Service/SqlHelper/SqlHelperService.php +2 −0 Original line number Diff line number Diff line Loading @@ -18,9 +18,11 @@ class SqlHelperService { try { $tmp = $res->fetchAllAssociative(); } catch (DRV_Exception $e) { echo "033[31mUn problème est survenu lors de l'utilisation du drivers\033[0m"; throw new RuntimeException("Un problème est survenu [DRV_Exception]", 0, $e); } } catch (DBA_Exception $e) { echo "033[31mUn problème est survenu lors de l'utilisation de la base de donnée\033[0m"; throw new RuntimeException("Un problème est survenu [DBA_Exception]", 0, $e); } return $tmp; Loading Loading
src/UnicaenSynchro/Service/SqlHelper/SqlHelperService.php +2 −0 Original line number Diff line number Diff line Loading @@ -18,9 +18,11 @@ class SqlHelperService { try { $tmp = $res->fetchAllAssociative(); } catch (DRV_Exception $e) { echo "033[31mUn problème est survenu lors de l'utilisation du drivers\033[0m"; throw new RuntimeException("Un problème est survenu [DRV_Exception]", 0, $e); } } catch (DBA_Exception $e) { echo "033[31mUn problème est survenu lors de l'utilisation de la base de donnée\033[0m"; throw new RuntimeException("Un problème est survenu [DBA_Exception]", 0, $e); } return $tmp; Loading