@@ -70,8 +70,7 @@ |
||
| 70 | 70 | } |
| 71 | 71 | $this->documentManager->insert($collection, $document); |
| 72 | 72 | $output .= "Inserted document in the $collection collection.\n"; |
| 73 | - } |
|
| 74 | - catch (Exception $exception) { |
|
| 73 | + } catch (Exception $exception) { |
|
| 75 | 74 | $output .= "Error: ".$exception->getMessage()."\n"; |
| 76 | 75 | } |
| 77 | 76 | break; |