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
When no valid combination of env vars are provided, I expect this method to throw an error.
Actual Behavior
When none of the env vars to authenticate (eg EVENTHUB_KEY_NAME, EVENTHUB_KEY_VALUE) are provided - or one is missing - the program will just hangs indefinitely.
Handling this is a bit of an inconvenience since there are quite a few possible combinations of env vars that can be used to authenticate.
I have also noticed that it'll hang when you set EVENTHUB_CONNECTION_STRING to a value that isn't a valid format for connection string - but not when a fake value of the correct format is supplied.
It won't hang if you provide a valid set of env vars, but they're fake values.
I haven't tested this with the other NewHub methods, but I presume the same will happen for anything that uses env vars.
Expected Behavior
When no valid combination of env vars are provided, I expect this method to throw an error.
Actual Behavior
When none of the env vars to authenticate (eg
EVENTHUB_KEY_NAME
,EVENTHUB_KEY_VALUE
) are provided - or one is missing - the program will just hangs indefinitely.Handling this is a bit of an inconvenience since there are quite a few possible combinations of env vars that can be used to authenticate.
I have also noticed that it'll hang when you set
EVENTHUB_CONNECTION_STRING
to a value that isn't a valid format for connection string - but not when a fake value of the correct format is supplied.It won't hang if you provide a valid set of env vars, but they're fake values.
I haven't tested this with the other NewHub methods, but I presume the same will happen for anything that uses env vars.
repro:
The text was updated successfully, but these errors were encountered: