You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run host without setting value for connection string bar in appsettings.json
Expected result:
Error: Missing connection string for "bar". Did you forget to run "func azure functionapp fetch-app-settings <functionAppName>"?
Actual result:
Reading host configuration file 'C:\CDriveCode\FuncCliProjects\new-proj\host.json'
Generating 0 job function(s)
Starting Host (HostId=171ab663c24c47c781e2981bbc8ac788, Version=1.0.0.0, ProcessId=14200, Debug=False)
No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Service
Bus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. confi
g.UseServiceBus(), config.UseTimers(), etc.).
Job host started
The following 1 functions are in error:
EventHubTriggerCSharp: Value cannot be null.
Parameter name: receiverConnectionString.
The text was updated successfully, but these errors were encountered:
lindydonna
changed the title
Improve error message when EventHub connection string is not set
Improve error message when EventHub or ServiceBus connection string is not set
Jan 24, 2017
lindydonna
changed the title
Improve error message when EventHub or ServiceBus connection string is not set
Improve error message when EventHub connection string is not set
Jan 24, 2017
Repro steps:
func new
bar
to function.jsonbar
in appsettings.jsonExpected result:
Error: Missing connection string for "bar". Did you forget to run "func azure functionapp fetch-app-settings <functionAppName>"?
Actual result:
The text was updated successfully, but these errors were encountered: