@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | $space->addIndex($index); |
| 140 | 140 | } catch (Exception $e) { |
| 141 | 141 | $presentation = json_encode($properties['indexes'][$i]); |
| 142 | - throw new Exception("Failed to add index $presentation. ". $e->getMessage(), 0, $e); |
|
| 142 | + throw new Exception("Failed to add index $presentation. ".$e->getMessage(), 0, $e); |
|
| 143 | 143 | } |
| 144 | 144 | } |
| 145 | 145 | } |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | foreach ($schema->getSpaces() as $space) { |
| 149 | 149 | if (!count($space->getIndexes())) { |
| 150 | 150 | if (!$space->hasProperty('id')) { |
| 151 | - throw new Exception("No primary index on ". $space->getName()); |
|
| 151 | + throw new Exception("No primary index on ".$space->getName()); |
|
| 152 | 152 | } |
| 153 | 153 | $space->addIndex(['id']); |
| 154 | 154 | } |