Add exception class when scheduled tasks fail and exception hasnt been caught
This commit is contained in:
parent
e5944f8b3d
commit
e97a106178
@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user