1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5529 from turbo124/v5-develop

Fixes for Analytics
This commit is contained in:
David Bomba 2021-04-25 14:36:35 +10:00 committed by GitHub
commit 55125db7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -73,4 +73,5 @@ class EmailSuccess
public function __construct($string_metric7) {
$this->string_metric7 = $string_metric7;
}
}

View File

@ -205,6 +205,7 @@ class NinjaMailerJob implements ShouldQueue
nlog($exception->getMessage());
$job_failure = new EmailFailure($this->nmo->company->company_key);
$job_failure->string_metric5 = 'failed_email';
$job_failure->string_metric6 = substr($exception->getMessage(), 0, 150);
LightLogs::create($job_failure)