Improve error handling for a host-side error