1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for Analytics

This commit is contained in:
David Bomba 2021-04-25 14:36:22 +10:00
parent c4f842cf9d
commit 28caa315a5
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)