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
88 stars 49 forks source link

Throw exception in controller if AjaxUploader gives an error #442

Closed patriksh closed 2 years ago

patriksh commented 2 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 2 years ago

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

patriksh commented 2 years ago

Alright.