mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-04 10:03:29 +01:00
improve logging
This commit is contained in:
15 files changed
+77
-20
No files matched your search
@@ -171,7 +171,7 @@ export default class AnonymizedFile {
|
||||
if (this._file?.size && this._file?.size > config.MAX_FILE_SIZE) {
|
||||
throw new AnonymousError("file_too_big", {
|
||||
object: this,
|
||||
httpStatus: 403,
|
||||
httpStatus: 413,
|
||||
});
|
||||
}
|
||||
const content = await this.repository.source?.getFileContent(this);
|
||||
|
||||
Reference in new issue
Block a user