Normally how do you guys handle background exception?
Example for email notification:
I would like to have “Failed” send state and the error message save to the record send for easy tracking.
However, when I implement try exception, then it will show on the normally log or sentry.
If I save the failed state and raise_error(), the failed state will roll back.
The reason put all errors at the sentry because, the administrator only monitor in one place.
Normally cron will execute all the records. But if one record failed, all record will not be executed. I want to isolate the failed record and so that other record can be run normally.
Next, how to record the warning message?
Example: digit set (6,2). sometime by decimal, it may become 1,699999… It can show in screen but background it will not be log, but it will failed. It make harder to trace.