Issue #286: add error logging ...