We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6d61a commit 1381961Copy full SHA for 1381961
packages/util/postinstall.mjs
@@ -49,7 +49,11 @@ async function getWebConfig() {
49
const response = await fetch(
50
`https://firebase.googleapis.com/v1alpha/projects/${projectId}/apps/${appId}/webConfig`,
51
{ headers: { "x-goog-api-key": apiKey } }
52
- );
+ ).catch((e) => {
53
+ // TODO add sensible error
54
+ console.error(e);
55
+ return undefined;
56
+ });
57
if (!response.ok) {
58
// TODO add sensible error
59
console.error("yikes.");
0 commit comments