diff --git a/src/providers/image-loader.ts b/src/providers/image-loader.ts index 5e66193..4287c03 100644 --- a/src/providers/image-loader.ts +++ b/src/providers/image-loader.ts @@ -354,12 +354,7 @@ export class ImageLoader { // delete the file then process next file if necessary this.file.removeFile(this.file.cacheDirectory + this.config.cacheDirectoryName, file.name) .then(() => next()) - .catch((e: FileError) => { - next(); - if (e.code != 1) { // ignore File not found error - this.throwError('Error deleting file from cache to maintain size. ', e) - } - }); + .catch(() => next()); // ignore errors, nothing we can do about it } };