Add more tracing

This commit is contained in:
James Cole
2023-08-30 11:58:44 +02:00
parent 80f21d2a4f
commit 0e7712d3b8
27 changed files with 52 additions and 15 deletions

View File

@@ -75,6 +75,7 @@ class FrontpageController extends Controller
$html = view('json.piggy-banks', compact('info'))->render();
} catch (Throwable $e) {
Log::error(sprintf('Cannot render json.piggy-banks: %s', $e->getMessage()));
Log::error($e->getTraceAsString());
$html = 'Could not render view.';
throw new FireflyException($html, 0, $e);
}