Kingfisher icon indicating copy to clipboard operation
Kingfisher copied to clipboard

alaways show Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://img.

Open programer001 opened this issue 3 years ago • 1 comments

SURLErrorDomain Code=-999 "cancelled"

i do not know why i use function like this : ImageDownloader.default.downloadImage(with: URL, completionHandler: { [weak self] image, error, _, originalData in

programer001 avatar Jan 16 '23 08:01 programer001

The "-999 cancelled" error means that the downloading was canceled somewhere. However, in ImageDownloader, a started downloading task should not cancel itself by default. So it is now quite hard for me to point out what can be wrong.

Can you try to paste some more code snippet, or even better, a simple demo in which this issue can be reproduced? Then I can dig into it deeper.

onevcat avatar Jan 16 '23 14:01 onevcat