Adamw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/86180


Change subject: Return a result from requeue
......................................................................

Return a result from requeue

Change-Id: I6aee48e400e96c695fa8f8a858fa58a19de239fc
---
M sites/all/modules/wmf_common/Queue.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/80/86180/1

diff --git a/sites/all/modules/wmf_common/Queue.php 
b/sites/all/modules/wmf_common/Queue.php
index 18e7605..90ad3a7 100644
--- a/sites/all/modules/wmf_common/Queue.php
+++ b/sites/all/modules/wmf_common/Queue.php
@@ -225,7 +225,8 @@
       $queue = $headers['destination'];
 
       try {
-        $this->enqueue( $msg, $headers, $queue );
+        $retval = $this->enqueue( $msg, $headers, $queue );
+        return $retval;
       } catch (Stomp_Exception $ex) {
         $exMsg = "Failed to requeue message with {$ex->getMessage()}. 
Contents: " . json_encode($msg_orig);
         watchdog('wmf_common', $exMsg, NULL, WATCHDOG_ERROR);

-- 
To view, visit https://gerrit.wikimedia.org/r/86180
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6aee48e400e96c695fa8f8a858fa58a19de239fc
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to