Fix polling, presenting our address. Fix logging address.
This commit is contained in:
@@ -34,7 +34,7 @@ class AddressPoll implements ShouldQueue
|
||||
public function handle()
|
||||
{
|
||||
if ((! $this->ao->system->mailer_address) || (! $this->ao->system->mailer_port))
|
||||
throw new \Exception(sprintf('Unable to poll [%s] missing mailer details',$this->argument('ftn')));
|
||||
throw new \Exception(sprintf('Unable to poll [%s] missing mailer details',$this->ao->ftn));
|
||||
|
||||
try {
|
||||
$client = SocketClient::create($this->ao->system->mailer_address,$this->ao->system->mailer_port);
|
||||
|
Reference in New Issue
Block a user