mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-22 17:55:38 +00:00
do not throw error when checking for initial checking of copilot enablement (#1693)
This commit is contained in:
parent
1aa4c18119
commit
b9cbfc924f
@ -93,7 +93,7 @@ export const getCopilotEnabled = async (): Promise<boolean> => {
|
||||
}
|
||||
|
||||
if (!response?.ok) {
|
||||
throw new Error(await response?.text());
|
||||
return false;
|
||||
}
|
||||
|
||||
const copilotPortalConfiguration = (await response?.json()) as CopilotEnabledConfiguration;
|
||||
|
Loading…
x
Reference in New Issue
Block a user