add details to exception