My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: dropr message processor must discard message when an execption occurs
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  mwolf...@gmail.com
Closed:  May 2008


 
Project Member Reported by hackbard...@gmail.com, May 15, 2008
Patch:

Index: messagedaemon.php
===================================================================
--- messagedaemon.php	(revision 40)
+++ messagedaemon.php	(working copy)
@@ -79,7 +79,9 @@
         }
     } catch(Exception $ex) {
         $log->crit("Cannot process message id '" . $message->getID().
-                   "': Exception encountered!\n" . $ex->getMessage());
+                   "': Exception encountered!\n" . $ex->getMessage() . " -
discarding message!");
+        // discard message
+        $storage->setProcessed($message);
         continue;
     }

May 15, 2008
Project Member #1 hackbard...@gmail.com
(No comment was entered for this change.)
Owner: mwolffhh
May 30, 2008
Project Member #2 mwolf...@gmail.com
Applied in Rev. 45, thanks for the patch :-)
Status: Fixed

Powered by Google Project Hosting