chore(dev): improve missing provider panic string
This commit is contained in:
@@ -51,7 +51,8 @@ func (s *Storage) extractServersFromBytes(b []byte, hardcodedVersions map[string
|
||||
for _, provider := range allProviders {
|
||||
hardcodedVersion, ok := hardcodedVersions[provider]
|
||||
if !ok {
|
||||
panic(fmt.Sprintf("provider %s not found in hardcoded servers map", provider))
|
||||
panic(fmt.Sprintf("provider %s not found in hardcoded servers map; "+
|
||||
"did you add the provider key in the embedded servers.json?", provider))
|
||||
}
|
||||
|
||||
rawMessage, ok := rawMessages[provider]
|
||||
|
||||
Reference in New Issue
Block a user