diff --git a/src/Core/Notification/Action/_ActionWebhook.php b/src/Core/Notification/Action/_ActionWebhook.php index cfdf2f1..dc7dafd 100644 --- a/src/Core/Notification/Action/_ActionWebhook.php +++ b/src/Core/Notification/Action/_ActionWebhook.php @@ -173,9 +173,9 @@ protected function _DoExecute($oTrigger, $aContextArgs, &$oLog) } // Errors during preparation - if (!empty($this->m_aWebrequestErrors)) + if (!empty($this->aRequestErrors)) { - return 'Errors: '.implode(', ', $this->m_aWebrequestErrors); + return 'Errors: '.implode(', ', $this->aRequestErrors); } if ($this->IsBeingTested() && empty($oRequest->GetURL())) @@ -197,7 +197,7 @@ protected function _DoExecute($oTrigger, $aContextArgs, &$oLog) case WebRequestSender::ENUM_SEND_STATE_PENDING: return 'Pending'; - case WebRequestSender::ENUM_SEND_STATE_ERROR; + case WebRequestSender::ENUM_SEND_STATE_ERROR: return 'Errors: '.implode(', ', $this->aRequestErrors); } }