Add error messages for failed docket checks
Fix error in logging