@@ 323-325 (lines=3) @@ | ||
320 | }); |
|
321 | } catch (\MongoException $e) { |
|
322 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
323 | if ($cb !== null) { |
|
324 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $o, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
325 | } |
|
326 | } |
|
327 | } |
|
328 | ||
@@ 414-416 (lines=3) @@ | ||
411 | }); |
|
412 | } catch (\MongoException $e) { |
|
413 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
414 | if ($cb !== null) { |
|
415 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $o, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
416 | } |
|
417 | } |
|
418 | } |
|
419 | ||
@@ 491-493 (lines=3) @@ | ||
488 | }); |
|
489 | } catch (\MongoException $e) { |
|
490 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
491 | if ($cb !== null) { |
|
492 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
493 | } |
|
494 | } |
|
495 | } |
|
496 | ||
@@ 532-534 (lines=3) @@ | ||
529 | }); |
|
530 | } catch (\MongoException $e) { |
|
531 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
532 | if ($cb !== null) { |
|
533 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
534 | } |
|
535 | } |
|
536 | } |
|
537 | ||
@@ 568-570 (lines=3) @@ | ||
565 | }); |
|
566 | } catch (\MongoException $e) { |
|
567 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
568 | if ($cb !== null) { |
|
569 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
570 | } |
|
571 | } |
|
572 | } |
|
573 | ||
@@ 735-737 (lines=3) @@ | ||
732 | }); |
|
733 | } catch (\MongoException $e) { |
|
734 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
735 | if ($cb !== null) { |
|
736 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
737 | } |
|
738 | } |
|
739 | } |
|
740 | ||
@@ 782-784 (lines=3) @@ | ||
779 | }); |
|
780 | } catch (\MongoException $e) { |
|
781 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
782 | if ($cb !== null) { |
|
783 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
784 | } |
|
785 | } |
|
786 | } |
|
787 | ||
@@ 959-961 (lines=3) @@ | ||
956 | }); |
|
957 | } catch (\MongoException $e) { |
|
958 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
959 | if ($cb !== null) { |
|
960 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
961 | } |
|
962 | } |
|
963 | } |
|
964 | ||
@@ 1026-1028 (lines=3) @@ | ||
1023 | }); |
|
1024 | } catch (\MongoException $e) { |
|
1025 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
1026 | if ($cb !== null) { |
|
1027 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
1028 | } |
|
1029 | } |
|
1030 | } |
|
1031 | ||
@@ 1071-1073 (lines=3) @@ | ||
1068 | }); |
|
1069 | } catch (\MongoException $e) { |
|
1070 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
1071 | if ($cb !== null) { |
|
1072 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
1073 | } |
|
1074 | } |
|
1075 | } |
|
1076 | ||
@@ 1504-1506 (lines=3) @@ | ||
1501 | }); |
|
1502 | } catch (\MongoException $e) { |
|
1503 | Daemon::log('MongoClient exception: '.$e->getMessage().': '.$e->getTraceAsString()); |
|
1504 | if ($cb !== null) { |
|
1505 | call_user_func($cb, ['$err' => $e->getMessage(), '$query' => $query, '$fields' => isset($p['fields']) ? $p['fields'] : null]); |
|
1506 | } |
|
1507 | } |
|
1508 | } |
|
1509 |