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:
parent
c4f842cf9d
commit
28caa315a5
@ -73,4 +73,5 @@ class EmailSuccess
|
||||
public function __construct($string_metric7) {
|
||||
$this->string_metric7 = $string_metric7;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user