passing more of the relevant debugging information on error, so you can at least try to recover