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 c9cad8c commit 2a9ebf4Copy full SHA for 2a9ebf4
api/v2/_extract-css-basic.js
@@ -98,6 +98,7 @@ export async function extractCss(url) {
98
body = response.body
99
headers = response.headers
100
} catch (error) {
101
+ console.error(error)
102
throw new HttpError({ url, statusCode, statusText })
103
}
104
@@ -137,8 +138,6 @@ export async function extractCss(url) {
137
138
if (importUrls.length > 0) {
139
var cssRequests = importUrls.map(
140
importUrl => getCssFile(resolveUrl(importUrl, url))
- // silently fail on sub-resources
141
- .catch(_ => '')
142
)
143
var importedFiles = await Promise.all(cssRequests)
144
importedFiles.map((css, index) => {
0 commit comments