Expand the character limit of error messages in Event log list (#4830)
This commit is contained in:
parent
c046466913
commit
06b1f57755
|
|
@ -85,6 +85,9 @@ class EventLog extends Model
|
|||
return $match[1];
|
||||
}
|
||||
|
||||
return Str::limit($this->message, 100);
|
||||
// Get first line of message
|
||||
preg_match('/^([^\n\r]+)/m', $this->message, $matches);
|
||||
|
||||
return Str::limit($matches[1] ?? '', 500);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue