소스 검색

Merge pull request #2640 from afurculita/patch-1

Update CRUDController.php
Thomas 10 년 전
부모
커밋
b79d47d9f5
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  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;