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
Before adding my Twitch credentials I got this error:
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
Hosting failed to start
System.Collections.Generic.KeyNotFoundException: The given key 'ClientId' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at TagzApp.Providers.TwitchChat.StartTwitchChat.MapConfigurationValues(ProviderConfiguration providerConfiguration) in C:\Users\Tero\git\TagzApp\src\TagzApp.Providers.TwitchChat\StartTwitchChat.cs:line 39 ...
Before adding my Twitch credentials I got this error:
I think the null check in StartTwitchChat.MapConfigurationValues is never null and causes the
KeyNotFoundException
.This can be fixed by changing
MapConfigurationValues
to have:Instead of this change, shoud we have it fail more gracefully in a
try {} catch {}
? Then let the user know those values are missing.The text was updated successfully, but these errors were encountered: