DATAREDIS-771 - Polishing.
Improve error message for unsupported PartTree keywords. Original Pull Request: #342
This commit is contained in:
committed by
Christoph Strobl
parent
d73a0e1677
commit
86606be850
@@ -70,7 +70,7 @@ public class RedisQueryCreator extends AbstractQueryCreator<KeyValueQuery<RedisO
|
||||
sink.near(getNearPath(part, iterator));
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException(part.getType() + "is not supported for redis query derivation");
|
||||
throw new IllegalArgumentException(String.format("%s is not supported for Redis query derivation!", part.getType()));
|
||||
}
|
||||
|
||||
return sink;
|
||||
|
||||
Reference in New Issue
Block a user