Fix onError
handling in next/future/image
#39824
Merged
onError
handling in next/future/image
#39824