You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v3.1.2
Node v20.7.0
System Linux (x64)
Package Manager npm
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When an image fails due to no metadata, you get the error message:
NoImageMetadata: Could not process image metadata for `${imagePath}`.
at imageMetadata (file:///.../node_modules/astro/dist/assets/utils/metadata.js:6:11)
[...
loc: { file: 'src/pages/[...slug].astro' },
title: 'Could not process image metadata.',
hint: 'This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue.',
frame: undefined,
type: 'AstroError'
}
What's the expected result?
I think the intention is to print the path of the image, but instead it's not printed due to this line:
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When an image fails due to no metadata, you get the error message:
What's the expected result?
I think the intention is to print the path of the image, but instead it's not printed due to this line:
astro/packages/astro/src/core/errors/errors-data.ts
Line 652 in 60684fa
Link to Minimal Reproducible Example
N/A
Participation
The text was updated successfully, but these errors were encountered: