Provide more detailed information when an error occurs