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 097a3e8 commit a28126b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/cache/policies/LRU.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 a28126b

Please sign in to comment.