mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-30 01:44:05 +00:00
Laravel Vapor - Get rid of an error from logs: Trying to get property 'owner' of non-object
This commit is contained in:
@@ -47,11 +47,7 @@ class UpdatePerfexCRMPrelude implements ShouldQueue
|
||||
|
||||
public function handle()
|
||||
{
|
||||
Log::info('packingList: ' . json_encode($this->packingList));
|
||||
Log::info('packingList owner: ' . json_encode($this->packingList->owner));
|
||||
Log::info('transaction: ' . json_encode($this->transaction));
|
||||
Log::info('updatePerfexCRMObject get tasks: ' . json_encode($this->updatePerfexCRMObject->getTasks()));
|
||||
Log::info('shouldCreateInvoice: ' . json_encode($this->shouldCreateInvoice));
|
||||
Log::info('UpdatePerfexCRMPrelude packingList: ' . json_encode($this->packingList));
|
||||
|
||||
if(env('APP_ENV') !== 'production'){
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user