There are rare cases where libchcore engine stops the task and marks it as failed.
Currently only the information that exception had occurred appears in task log, but without exception type nor location causing trouble determining the real problem.
Improve exception handling so that:
- each exception being thrown will have its own text message,
- exceptions caught in ThrdProc will be logged in the log file with detailed information where available.