[
https://issues.apache.org/jira/browse/FINERACT-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103042#comment-17103042
]
Michael Vorburger edited comment on FINERACT-858 at 5/9/20, 2:25 PM:
---------------------------------------------------------------------
Re-opening this, because my initial solution here could be improved, to
"propagate" much better..
https://github.com/apache/fineract/pull/855
was (Author: vorburger):
Re-opening this, because my initial solution here could be improved, to
"propagate" much better..
> Errors (JobExecutionException) in Cron Jobs loose exception root cause details
> ------------------------------------------------------------------------------
>
> Key: FINERACT-858
> URL: https://issues.apache.org/jira/browse/FINERACT-858
> Project: Apache Fineract
> Issue Type: Bug
> Components: Job Scheduler
> Reporter: Michael Vorburger
> Assignee: Michael Vorburger
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The way that the {{@CronTarget}} annotated cron job methods {{catch
> (Exception e)}} and then do {{throws JobExecutionException}} looses the root
> cause(s). This makes fully understanding and debugging e.g. (one of) the
> problem shown in FINERACT-857, for a solution like FINERACT-859, more
> difficult.
> I'll try to fix this in this issue (just the error logging, not the actual
> problem).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)