fix: Fixed the issue where no error message was displayed when uploading a file that was too large #2258 (#2697)

### What problem does this PR solve?

fix: Fixed the issue where no error message was displayed when uploading
a file that was too large #2258

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-10-01 16:37:46 +08:00
committed by GitHub
parent 1518824b0c
commit 62202b7eff
4 changed files with 9 additions and 0 deletions

View File

@@ -604,6 +604,7 @@ The above is the content you need to summarize.`,
404: 'The request was made for a record that does not exist, and the server did not perform the operation.',
406: 'The requested format is not available.',
410: 'The requested resource has been permanently deleted and will not be available again.',
413: 'The total size of the files uploaded at once is too large.',
422: 'When creating an object, a validation error occurred.',
500: 'A server error occurred, please check the server.',
502: 'Gateway error.',