add snippet that exposes bad error message