From f555d59e9536cc2f611a32a49f9990300d6a779b Mon Sep 17 00:00:00 2001 From: Alan Dixon Date: Wed, 21 Oct 2020 20:24:41 +0000 Subject: [PATCH] Log unexpected missing asset during AssetBuilder::build --- Civi/Core/AssetBuilder.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Civi/Core/AssetBuilder.php b/Civi/Core/AssetBuilder.php index 27fb1490e5..e3a7eb1473 100644 --- a/Civi/Core/AssetBuilder.php +++ b/Civi/Core/AssetBuilder.php @@ -194,7 +194,8 @@ class AssetBuilder { return $fileName; } catch (UnknownAssetException $e) { - // ignore possibly missing asset + // unexpected error, log and continue + Civi::log()->error('Unexpected error while rendering a file in the AssetBuilder'); } } return $fileName; -- 2.25.1