Add exception class when scheduled tasks fail and exception hasnt been caught

This commit is contained in:
Deon George 2023-07-27 21:09:57 +10:00
parent e5944f8b3d
commit e97a106178

View File

@ -166,7 +166,7 @@ class AddressPoll implements ShouldQueue, ShouldBeUnique
exit(0); exit(0);
default: default:
Log::error(sprintf('%s:! Address Poll to [%s] with an unknown exception [%s]',self::LOGKEY,$this->ao->ftn,$exception->getMessage())); Log::error(sprintf('%s:! Address Poll to [%s] with an unknown exception (%s)[%s]',self::LOGKEY,$this->ao->ftn,get_class($exception),$exception->getMessage()));
} }
} }