Include IP in error message.

This commit is contained in:
James Cole
2020-10-23 12:30:12 +02:00
parent 58bb5eaeae
commit 171f8c5848

View File

@@ -76,7 +76,7 @@ class MailError extends Job implements ShouldQueue
$args = $this->exception;
$args['loggedIn'] = $this->userData['id'] > 0;
$args['user'] = $this->userData;
$args['ip'] = $this->ipAddress;
$args['ipAddress'] = $this->ipAddress;
if ($this->attempts() < 3) {
try {
Mail::send(