Merge pull request #6224 from turbo124/v5-develop

Logging for PDFs
This commit is contained in:
David Bomba 2021-07-07 18:32:24 +10:00 committed by GitHub
commit af8cd6f19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,8 +86,8 @@ class CreateEntityPdf implements ShouldQueue
$this->contact = $invitation->contact;
//$this->disk = Ninja::isHosted() ? config('filesystems.default') : $disk;
$this->disk = $disk;
$this->disk = Ninja::isHosted() ? config('filesystems.default') : $disk;
//$this->disk = $disk;
// $this->disk = $disk ?? config('filesystems.default');
}
@ -209,9 +209,11 @@ class CreateEntityPdf implements ShouldQueue
$path = Storage::disk($this->disk)->path($file_path);
$url = Storage::disk($this->disk)->url($file_path);
info("disk = " . $this->disk);
info($path);
info($url);
}
catch(\Exception $e)
{