Skip to content
Permalink
Browse files
fix: error message for get routine (#372)
  • Loading branch information
Praful Makani committed May 20, 2020
1 parent c24bc72 commit 596673346f9b5540cece041e63019227522062be
Showing with 1 addition and 1 deletion.
  1. +1 −1 google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java
@@ -753,7 +753,7 @@ public com.google.api.services.bigquery.model.Routine call() {
EXCEPTION_HANDLER,
getOptions().getClock());
if (getOptions().getThrowNotFound() && answer == null) {
throw new BigQueryException(HTTP_NOT_FOUND, "Model not found");
throw new BigQueryException(HTTP_NOT_FOUND, "Routine not found");
}
return answer == null ? null : Routine.fromPb(this, answer);
} catch (RetryHelper.RetryHelperException e) {

0 comments on commit 5966733

Please sign in to comment.