|
@@ -225,8 +225,7 @@ |
|
|
block discarded – undo |
|
225
|
225
|
protected function runQuery(\Doctrine\MongoDB\Query\Query $query, $method, array $arguments = [], $resultIfNamespaceError = null) { |
|
226
|
226
|
try { |
|
227
|
227
|
$result = call_user_func_array([$query, $method], $arguments); |
|
228
|
|
- } |
|
229
|
|
- catch (ResultException $resultException) { |
|
|
228
|
+ } catch (ResultException $resultException) { |
|
230
|
229
|
if (strpos($resultException->getMessage(), 'namespace does not exist') === false) { |
|
231
|
230
|
throw $resultException; |
|
232
|
231
|
} |
Please login to merge, or discard this patch.