DevTools: Add missing param to fetchFromPage() (#22291)

This commit is contained in:
Brian Vaughn
2021-09-10 16:26:46 -04:00
committed by GitHub
parent 2ff67158c6
commit f4f89ffb5b
+2 -2
View File
@@ -258,7 +258,7 @@ function createPanelIfReactLoaded() {
}
// Edge case where getContent() returned null; fall back to fetch.
fetchFromPage(url, resolve);
fetchFromPage(url, resolve, reject);
}
});
@@ -273,7 +273,7 @@ function createPanelIfReactLoaded() {
}
// No matching URL found; fall back to fetch.
fetchFromPage(url, resolve);
fetchFromPage(url, resolve, reject);
});
};