Quellcode durchsuchen

Merge pull request #2640 from afurculita/patch-1

Update CRUDController.php
Thomas vor 10 Jahren
Ursprung
Commit
b79d47d9f5
1 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
  1. 7 2
      Controller/CRUDController.php

+ 7 - 2
Controller/CRUDController.php

@@ -185,8 +185,13 @@ class CRUDController extends Controller
 
         return parent::render($view, $parameters, $response);
     }
-
-    private function handleModelManagerException($e)
+    
+    /**
+     * @param \Exception $e
+     *
+     * @throws \Exception
+     */
+    protected function handleModelManagerException(\Exception $e)
     {
         if ($this->get('kernel')->isDebug()) {
             throw $e;