mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Limit error size
This commit is contained in:
@@ -230,7 +230,7 @@ abstract class AsyncTask extends DBObject
|
|||||||
$this->Set('remaining_retries', $this->GetMaxRetries($iErrorCode));
|
$this->Set('remaining_retries', $this->GetMaxRetries($iErrorCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->Set('last_error', $sErrorMessage);
|
$this->SetTrim('last_error', $sErrorMessage);
|
||||||
$this->Set('last_error_code', $iErrorCode); // Note: can be ZERO !!!
|
$this->Set('last_error_code', $iErrorCode); // Note: can be ZERO !!!
|
||||||
$this->Set('last_attempt', time());
|
$this->Set('last_attempt', time());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user