From f10c04a55acf76baeb2ae6b6d26bb027909baa29 Mon Sep 17 00:00:00 2001 From: Jonathon Belotti Date: Sun, 18 Feb 2024 01:49:34 +0000 Subject: [PATCH] fix: misleading error msg when GOOGLE_APPLICATION_CREDENTIALS is not used --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 64d7b0f..1d715bb 100644 --- a/src/error.rs +++ b/src/error.rs @@ -34,7 +34,7 @@ pub enum Error { /// /// By default, the custom service account credentials are parsed from the path pointed to by the /// `GOOGLE_APPLICATION_CREDENTIALS` environment variable. - #[error("Application profile provided in `GOOGLE_APPLICATION_CREDENTIALS` was not parsable")] + #[error("Unable to parse custom service account credentials")] CustomServiceAccountCredentials(#[source] serde_json::error::Error), /// Default user profile not found