Fixes for string length in analyticS

This commit is contained in:
David Bomba 2021-04-25 10:56:33 +10:00
parent 9560816102
commit 727c0abaa5

View File

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