@@ -55,7 +55,7 @@ |
||
| 55 | 55 | $client->addDocument($document); |
| 56 | 56 | $client->commit(); |
| 57 | 57 | $client->optimize(); |
| 58 | - }catch (\Exception $e){ |
|
| 58 | + } catch (\Exception $e){ |
|
| 59 | 59 | throw new ServerException('Can not add document to server!',$e->getCode(),$e); |
| 60 | 60 | } |
| 61 | 61 | } |