-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Description
Bug report
I'm using Image.network with errorBuilder but crashlytics is still filled with exceptions. Because of these exceptions, I'm unable to see real issues in the firebase dashboard, because thousands of exceptions are related to Image.network only. I would like not to get any of the Image.network exceptions, even if the image URL throws 404 or some other invalid status codes. Even if internet was not available at that time, it should not throw exception. I just want to show Image.asset if an image was not found on Image.network.
Steps to reproduce
Image.network(
"https://example.com/404.png",
errorBuilder: (BuildContext context, Object exception, StackTrace? stackTrace) {
return Image.asset("assets/noImage.png");
},
)
Expected behaviour
Crashlytics should not pick up exception because we are already handling it with "errorBuilder"
melnychuk-yaro, yaro-melnychuk, oodavid, blueeyestw, martyfuhry and 6 more