Skip to content

Commit

Permalink
The session addException method expects a second, required, parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeSaferite committed Mar 31, 2012
1 parent f54a8d2 commit aabc1d5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -102,7 +102,7 @@ public function requeueAction()
$message->save();
$this->_getSession()->addSuccess($this->__('Requeued message %s to %s', $message->getId(), $message->getTo()));
} catch (Exception $e) {
$this->_getSession()->addException($e);
$this->_getSession()->addException($e, $e->getMessage());
}
} else {
$this->_getSession()->addError($this->__('Invalid Message Status'));
Expand All @@ -128,7 +128,7 @@ public function retryAction()
$message->save();
$this->_getSession()->addSuccess($this->__('Retrying message %s to %s', $message->getId(), $message->getTo()));
} catch (Exception $e) {
$this->_getSession()->addException($e);
$this->_getSession()->addException($e, $e->getMessage());
}
} else {
$this->_getSession()->addError($this->__('Invalid Message Status'));
Expand Down

0 comments on commit aabc1d5

Please sign in to comment.