gradle-download-task icon indicating copy to clipboard operation
gradle-download-task copied to clipboard

Can download task add new property to avoid directly throw exception?

Open simonjhy opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. we don't want download task direclty throw exception when it can not dowload src file. We want to an anlternative closure if the download task failed and set a ignore this property, then no exception and dowload task can directly returen the existed download file lastt time.

A clear and concise description of what the problem is. Example: I'm always frustrated when [...] we don't want download task direclty throw exception when it can not dowload src file.

Describe the solution you'd like It will be better that task can add a new property to enable or disable throw exception action and give us a hook point that we can add our custimzed code to handle these scenario.

A clear and concise description of what you want to happen. It will be better that task can add a new property to enable or disable throw exception action, that means task will not give an error console result.

Describe alternatives you've considered It will be better that task can add a new property to enable or disable throw exception action.

A clear and concise description of any alternative solutions or features you've considered. It will be better that task can add a new property to enable or disable throw exception action.

simonjhy avatar Feb 01 '24 14:02 simonjhy