print imgproxy dimensions error
This commit is contained in:
parent
79f0df17b2
commit
bcdbf9cede
|
@ -113,7 +113,7 @@ export const createImgproxyUrls = async (id, text, { models, forceFetch }) => {
|
||||||
dimensions: await getDimensions(fetchUrl)
|
dimensions: await getDimensions(fetchUrl)
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log('[imgproxy] id:', id, '-- error getting dimensions (possibly not running imgproxy pro)')
|
console.log('[imgproxy] id:', id, '-- error getting dimensions (possibly not running imgproxy pro)', err)
|
||||||
}
|
}
|
||||||
for (const res of resolutions) {
|
for (const res of resolutions) {
|
||||||
const [w, h] = res.split('x')
|
const [w, h] = res.split('x')
|
||||||
|
|
Loading…
Reference in New Issue