I see in your main function, you have a backup image in case the request is for a non existent icon. I politely disagree with this choice because in the case of an error, one can bind to the request erroring and use a backup of their own choice. But if the requested icon is returned as something else that one cannot detect, there is nothing to be done.
Is there some way for me to tell that I got the no_image file back?
I see in your main function, you have a backup image in case the request is for a non existent icon. I politely disagree with this choice because in the case of an error, one can bind to the request erroring and use a backup of their own choice. But if the requested icon is returned as something else that one cannot detect, there is nothing to be done.
Is there some way for me to tell that I got the no_image file back?