added a log statement to make it easier to determine the reason a submission failed