add details to make exception show what was the error