@@ -13,8 +13,7 @@ |
||
| 13 | 13 | $params['id'] = $id; |
| 14 | 14 | try{ |
| 15 | 15 | $result = $ES->delete($params); |
| 16 | - } |
|
| 17 | - catch (Exception $e){ |
|
| 16 | + } catch (Exception $e){ |
|
| 18 | 17 | /* |
| 19 | 18 | If you try to delete a document with an _id that does not exist, $ES->delete throws an Exception. |
| 20 | 19 | B/c of default behaviour of reformo/rslim, it bypasses all Exceptions and it returns Exception message. |