@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | $space->addIndex($index); |
| 194 | 194 | } catch (Exception $e) { |
| 195 | 195 | $presentation = json_encode($properties['indexes'][$i]); |
| 196 | - throw new Exception("Failed to add index $presentation. ". $e->getMessage(), 0, $e); |
|
| 196 | + throw new Exception("Failed to add index $presentation. ".$e->getMessage(), 0, $e); |
|
| 197 | 197 | } |
| 198 | 198 | } |
| 199 | 199 | } |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | } |
| 205 | 205 | if (!count($space->getIndexes())) { |
| 206 | 206 | if (!$space->hasProperty('id')) { |
| 207 | - throw new Exception("No primary index on ". $space->getName()); |
|
| 207 | + throw new Exception("No primary index on ".$space->getName()); |
|
| 208 | 208 | } |
| 209 | 209 | $space->addIndex(['id']); |
| 210 | 210 | } |