errors are not being reported consistently to user #2 - added logging to aid debugging