From 236e047fa3ccbd6cd357bad8b0918dde99e51a34 Mon Sep 17 00:00:00 2001 From: Gunnar Date: Wed, 18 Dec 2024 09:28:29 +0100 Subject: [PATCH] better logging --- system/cache/policies/FIFO.cfc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/cache/policies/FIFO.cfc b/system/cache/policies/FIFO.cfc index 075146871..b1bf096c2 100644 --- a/system/cache/policies/FIFO.cfc +++ b/system/cache/policies/FIFO.cfc @@ -25,6 +25,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" { * Execute the policy */ void function execute(){ + var e = {}; // Get searchable index try { var index = getAssociatedCache() @@ -34,7 +35,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" { // process evictions processEvictions( index ); } catch ( Any e ) { - getLogger().error( "Error sorting via store indexer #e.message# #e.detail# #e.stackTrace#." ); + getLogger().error( "Error sorting via store indexer #e.message#", e ); } }