Add error logging to Stats::StatsReport.write_report
Add error logging to Stats::StatsReport.write_report

While a report may complete it may fail to
update its record.

ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments