Add some details to an exception message