Skip to content

Commit

Permalink
Don't log full connection value for connection config errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewc committed Apr 5, 2016
1 parent 2e58e7a commit 096dba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebJobs.Script/Host/ScriptHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ private static BindingMetadata ParseBindingMetadata(JObject binding, INameResolv
if (!string.IsNullOrEmpty(connection) &&
string.IsNullOrEmpty(Utility.GetAppSettingOrEnvironmentValue(connection)))
{
throw new FormatException(string.Format("Connection value '{0}' is invalid.", connection));
throw new FormatException("Invalid Connection value specified.");
}

switch (bindingType)
Expand Down

0 comments on commit 096dba0

Please sign in to comment.