mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
fix: fix github download 2
This commit is contained in:
@@ -89,7 +89,7 @@ export default class GitHubDownload extends GitHubBase implements SourceBase {
|
||||
await storage.extractTar(originalPath, downloadStream);
|
||||
} catch (error) {
|
||||
await this.repository.updateStatus("error", "unable_to_download");
|
||||
throw new AnonymousError("unable_to_download");
|
||||
throw new AnonymousError("unable_to_download", error);
|
||||
} finally {
|
||||
inDownload = false;
|
||||
clearTimeout(progressTimeout);
|
||||
|
||||
Reference in New Issue
Block a user