1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00

Logging for PDFs

This commit is contained in:
David Bomba 2021-07-07 18:32:10 +10:00
parent 156647a2ba
commit 97ea9db59b

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)
{