Skip to content

Commit

Permalink
fix: fix environment variable interpolation (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
malandis authored Apr 24, 2023
1 parent 4c42284 commit 852d7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Momento.Sdk/Auth/EnvMomentoTokenProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public EnvMomentoTokenProvider(string name)
this.envVarName = name;
if (String.IsNullOrEmpty(name))
{
throw new InvalidArgumentException($"Environment variable name is empty or null.");
throw new InvalidArgumentException($"Environment variable '{name}' is empty or null.");
}

AuthToken = Environment.GetEnvironmentVariable(name);
Expand Down

0 comments on commit 852d7a6

Please sign in to comment.