mindstellar / Osclass

With Osclass, get your own classifieds site for free. Build your own Osclass installation and start advertising real estate, jobs or whatever you want- in minutes!
https://docs.mindstellar.com/
GNU General Public License v3.0
90 stars 49 forks source link

Throw exception in controller if AjaxUploader gives an error #442

Closed patriksh closed 3 years ago

patriksh commented 3 years ago

This is how I proposed it first, worked nice for me. https://github.com/mindstellar/Osclass/issues/440

Or do we throw the exceptions in uploader instead?

navjottomer commented 3 years ago

It's better to throw exceptions in the uploader and catch them in our controller

patriksh commented 3 years ago

Alright.