fixed crash on download cancel

This commit is contained in:
uh wot 2021-06-17 21:59:15 +02:00
parent d2f493fce2
commit caa2ef81f3
No known key found for this signature in database
GPG key ID: CB2454984587B781

View file

@ -504,7 +504,9 @@ class Downloader {
errid: e.errid,
data: itemData
}}
} else if (! (e instanceof DownloadCanceled)){
} else if (e instanceof DownloadCanceled){
return
} else {
console.trace(e)
result = {error:{
message: e.message,