Browse Source

New keyword was missing in Sqs Cloud/QueueService adapter when exception is thrown. Would cause fatal error.

Henry Hayes 12 years ago
parent
commit
458ab5d1ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/Cloud/QueueService/Adapter/Sqs.php

+ 1 - 1
library/Zend/Cloud/QueueService/Adapter/Sqs.php

@@ -118,7 +118,7 @@ class Zend_Cloud_QueueService_Adapter_Sqs
         try {
         try {
             return $this->_sqs->delete($queueId);
             return $this->_sqs->delete($queueId);
         } catch(Zend_Service_Amazon_Exception $e) {
         } catch(Zend_Service_Amazon_Exception $e) {
-            throw Zend_Cloud_QueueService_Exception('Error on queue deletion: '.$e->getMessage(), $e->getCode(), $e);
+            throw new Zend_Cloud_QueueService_Exception('Error on queue deletion: '.$e->getMessage(), $e->getCode(), $e);
         }
         }
     }
     }