log the system error message on failure