mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-03-08 05:40:43 +00:00
fix: improve error management file download
This commit is contained in:
@@ -192,7 +192,8 @@ export default class AnonymizedFile {
|
||||
try {
|
||||
await pipe(await this.anonymizedContent(), res);
|
||||
} catch (error) {
|
||||
handleError(error, res);
|
||||
handleError(error);
|
||||
res.end();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user