@@ -69,7 +69,9 @@ |
||
| 69 | 69 | } catch (\Exception $e) { |
| 70 | 70 | if ($catch) { |
| 71 | 71 | // handle exception to response |
| 72 | - } else throw $e; |
|
| 72 | + } else { |
|
| 73 | + throw $e; |
|
| 74 | + } |
|
| 73 | 75 | } |
| 74 | 76 | } |
| 75 | 77 | } |
| 76 | 78 | \ No newline at end of file |