improve logging

This commit is contained in:
tdurieux committed 2026-05-06 16:31:10 +03:00
1 parent 873c910dd3
commit 3613c895c8
15 files changed
+77 -20

No files matched your search

+1 -1
View File
@@ -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);