Add more info when exception is thrown.