log response on failed reports
minor coding improvements