From 740bd796b224b7afb5b3328b490d7c85b2c643e7 Mon Sep 17 00:00:00 2001 From: praful Date: Tue, 30 Oct 2018 18:34:41 +0530 Subject: [PATCH] Fix #3292 --- .../src/main/java/com/google/cloud/datastore/Validator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/Validator.java b/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/Validator.java index 11eb0b71380d..28a07001461f 100644 --- a/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/Validator.java +++ b/google-cloud-clients/google-cloud-datastore/src/main/java/com/google/cloud/datastore/Validator.java @@ -40,7 +40,7 @@ private Validator() { static String validateDatabase(String projectId) { checkArgument(!Strings.isNullOrEmpty(projectId), "projectId can't be empty or null"); checkArgument(PROJECT_ID_PATTERN.matcher(projectId).matches(), - "projectId must match the following pattern: " + PROJECT_ID_PATTERN.pattern()); + "projectId " + projectId + " does not match the required pattern: " + PROJECT_ID_PATTERN.pattern()); return projectId; }