Logging for tests

This commit is contained in:
David Bomba 2024-06-18 13:37:54 +10:00
parent e199dcec85
commit c3c4058f0a

View File

@ -111,7 +111,9 @@ class CreateRawPdf
try { try {
$pdf = $ps->boot()->getPdf(); $pdf = $ps->boot()->getPdf();
} catch (\Exception) { } catch (\Exception $e) {
echo "EXCEPTION::".PHP_EOL;
echo $e->getMessage().PHP_EOL;
throw new FilePermissionsFailure('Unable to generate the raw PDF'); throw new FilePermissionsFailure('Unable to generate the raw PDF');
} }