fix: add missed error callback for download (#912)

Fixes: #673
This commit is contained in:
Dmitriy Danilov 2020-10-05 08:21:17 +03:00 committed by GitHub
parent 6b49d4c4e4
commit b841796525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,6 +150,8 @@ function* downloadSaga(
message: "Download failed. File name was not provided",
type: "error",
});
if (event.callback) event.callback({ success: false });
return;
}
const dataType = getType(data);