Skip to content

Missing error handling for upload_max_filesize errors #196

@ghost

Description

I use the FineUploader. Maybe this issue occurs on other uploaders too.

The gallery endpoint returns for example this:

{"error":{"code":500,"message":"Internal Server Error","exception":[{"message":"The file \"Bla.png\" exceeds your upload_max_filesize ini directive (limit is 2048 KiB).","class":"Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException","trace":

How to catch and pass it to the frontend to show this error to the user?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions