flutter_ok_image icon indicating copy to clipboard operation
flutter_ok_image copied to clipboard

[email] Is there any way to log when errors, or do you have any thoughts when image doesn't load with redirects?

Open CaiJingLong opened this issue 6 years ago • 4 comments

On 02/23/2019 07:31,Warner, Neil [email protected] wrote: Is there any way to log when errors, or do you have any thoughts when image doesn't load with redirects? thanks.

CaiJingLong avatar Feb 23 '19 09:02 CaiJingLong

What log do you need?

CaiJingLong avatar Feb 23 '19 09:02 CaiJingLong

my apologies. I used a custom error placeholder build method and that gave me a chance to log. but the custom error placeholder is not working at least with if debugMode then ErrorIcon else sizedbox() (psuedocode)

So I'd like to come back to that later...thanks

neiljaywarner avatar Feb 23 '19 18:02 neiljaywarner

I don't quite understand. What do you mean is that you need to output the reason why you failed on the UI, or that you can see the log or record the reason when the load failed?

Or is my understanding wrong?

CaiJingLong avatar Feb 24 '19 09:02 CaiJingLong

Both. And some times you want them only in a debug build

neiljaywarner avatar Feb 25 '19 04:02 neiljaywarner