Skip to content

fix: confusing message display when upload size was greater than the …#420

Merged
abhitrueprogrammer merged 1 commit intoCodeChefVIT:stagingfrom
BrainNotFoundException:Lavnish/UploadSizeFix
Dec 6, 2025
Merged

fix: confusing message display when upload size was greater than the …#420
abhitrueprogrammer merged 1 commit intoCodeChefVIT:stagingfrom
BrainNotFoundException:Lavnish/UploadSizeFix

Conversation

@BrainNotFoundException
Copy link
Contributor

@BrainNotFoundException BrainNotFoundException commented Nov 27, 2025

…limit.

📌 Purpose

  • Fixes the issue where uploading files larger than the 5MB limit showed a confusing 'Failed to upload papers' message instead of the specific error.
  • And a missing error display toast for the same.

Corresponding issue: none just found it randomly

🔧 Changes

  • Fixed the error message for upload size
  • Made error message for invalid files more appropriate

@BrainNotFoundException BrainNotFoundException marked this pull request as draft November 28, 2025 18:12
@BrainNotFoundException BrainNotFoundException marked this pull request as ready for review November 29, 2025 11:02
@abhitrueprogrammer abhitrueprogrammer merged commit ebb6683 into CodeChefVIT:staging Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants