Tweak ResourceReporter#post_reporting_data for better logs and safer exception handling