Good morning team, I have a question regarding app configuration client. In what cases can app configuration fail and if does fail does it give any error? For example if the connection string is wrong?
And the second question: Can I do something like that?
let client:
if (primaryEndpoint || secondaryEndpoint) {
try {
client = new appConfig.AppConfigurationClient(primaryEndpoint);
} catch (e) {
client = new appConfig.AppConfigurationClient(secondaryEndpoint);
}
} else {
client = new appConfig.AppConfigurationClient(options.endpoints.endpoint);
}
We have region specific endpoints, wanted to make sure I can do that. Thank you