-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing error handling for upload_max_filesize errors #196
Comments
Your endpoint returns a JSON response, which you can process with javascript in your frontend. |
@bytehead The FineUploaderResponse contains a feature for errors. I think the above internal server error should be catched and passed to the FineUploaderResponse error if possible. Is there any way to do this? |
Could a try/catch at https://github.com/1up-lab/OneupUploaderBundle/blob/master/Controller/AbstractController.php#L123-L126 fix this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I use the FineUploader. Maybe this issue occurs on other uploaders too.
The gallery endpoint returns for example this:
How to catch and pass it to the frontend to show this error to the user?
The text was updated successfully, but these errors were encountered: