Skip to content

Commit

Permalink
better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnarLieb authored Dec 18, 2024
1 parent 236e047 commit 74e5589
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/cache/policies/LFU.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
* Execute the policy
*/
void function execute(){
var e = {};
// Get searchable index
try {
var index = getAssociatedCache()
Expand All @@ -35,7 +36,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 );
}
}

Expand Down

0 comments on commit 74e5589

Please sign in to comment.