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 8a143a9 commit 236e047
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/cache/policies/FIFO.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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 );
}
}

Expand Down

0 comments on commit 236e047

Please sign in to comment.