Sending curl stats when possible in error event and removing reference to no longer used message formatter variable