log actual exception when purging temp or cache dir fails fails with cannot remove resource

Description

when the background task which clears out the temp and cache directory fails,
it doesn't log out the reason why it failed, i.e the actual exception

It probably always going to be a locking problem

the path ( res.getAbsolutePath() ) should also be wrapped in []'s

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/engine/Controler.java#L516

Environment

None

Activity

Show:
Pothys - MitrahSoft
September 7, 2020, 4:32 PM

I've improved the error message and wrapped it inside the '[]'.

Pull Request: https://github.com/lucee/Lucee/pull/1025

Assignee

Michael Offner

Reporter

Zac Spitzer

Priority

New

Labels

None

Fix versions

None

Affects versions

Configure