diff --git a/source/libdnet/client.d b/source/libdnet/client.d index 45976f0..01bc751 100644 --- a/source/libdnet/client.d +++ b/source/libdnet/client.d @@ -235,6 +235,11 @@ public final class DClient properties = split(propertyLine, ","); } + /* If it didn't work (user specified invalid) */ + else + { + throw new DClientException("Invalid user for get property"); + } return properties; }