try {
stmt = inferenceStack.resolvePathExpression(path);
} catch (IllegalArgumentException e) {
- throw new IllegalArgumentException("Failed to find leafref target " + path, e);
+ throw new IllegalArgumentException("Failed to find leafref target " + path.getOriginalString(), e);
}
return mapToGenerator(stmt);
}