Skip to content

Commit

Permalink
Catch exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 10, 2017
1 parent 21d2f04 commit 5aa8065
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -501,6 +501,12 @@ protected function _sendNextChange()
$this->_as->state->updateState($change['type'], $change);
$this->_step++;
return $e;
} catch (Horde_ActiveSync_Exception_TemporaryFailure $e) {
$this->_logger->err(sprintf(
'[%s] Backend server reported an error: %s.',
$this->_procid,
$e->getMessage()));
throw $e;
} catch (Horde_ActiveSync_Exception $e) {
$this->_logger->err(sprintf(
'[%s] Unknown backend error skipping message: %s',
Expand Down

0 comments on commit 5aa8065

Please sign in to comment.