Thanks to visit codestin.com
Credit goes to github.com

Skip to content

type 'HttpException' is not a subtype of type 'FileInfo' #99

@Moncader

Description

@Moncader

In the newest release (1.1.0),
https://github.com/renefloor/flutter_cache_manager/blob/master/lib/src/cache_manager.dart#L120
Here you are yielding the exception. However in the case when the download failed an HttpException is what is being thrown, and the Stream doesn't can't cast that exception to a FileInfo.

This breaks any kind of network error for this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions