i have project with next js 13.4 and using its default image optimization api and component, security department wants me to hide error messages related to path like:
/_next/image?...
right now for example with 400 error it shows this message:
unable to optimize image and unable to fallback to upstream image
i must some how prevent showing deatils of the issue that next shows when somthing is wrong,
i host it on windows with custom server if it helps and try to cache error but not falls in cache part.
1