From 006aaebf25a95aa389ac3732b90c107c51b0a5b2 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 8 Feb 2021 09:31:13 -0500 Subject: [PATCH] include the actual error in log message --- Civi/Core/AssetBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Core/AssetBuilder.php b/Civi/Core/AssetBuilder.php index e3a7eb1473..14103775a9 100644 --- a/Civi/Core/AssetBuilder.php +++ b/Civi/Core/AssetBuilder.php @@ -195,7 +195,7 @@ class AssetBuilder { } catch (UnknownAssetException $e) { // unexpected error, log and continue - Civi::log()->error('Unexpected error while rendering a file in the AssetBuilder'); + Civi::log()->error('Unexpected error while rendering a file in the AssetBuilder: ' . $e->getMessage(), ['exception' => $e]); } } return $fileName; -- 2.25.1