Set error string when failing early
This commit is contained in:
parent
6b07fa2d08
commit
b0ba8073fc
@ -126,8 +126,9 @@ export class Download extends BaseDownload {
|
|||||||
this.markDirty();
|
this.markDirty();
|
||||||
}
|
}
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
console.error("failed", ex.toString(), ex);
|
console.error("failed to start download", ex.toString(), ex);
|
||||||
this.changeState(CANCELED);
|
this.changeState(CANCELED);
|
||||||
|
this.error = ex.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user