sroze / SRIORestUploadBundle

A symfony bundle to handle multiple upload ways on your REST API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not throwing exception and hiding permissions error

LeighBicknell opened this issue · comments

It took me a good while to track down why when I tested manually I could upload a file, but when I used my functional test it failed.

After going through the differences in headers and various other things I narrowed it down to this line, which was hiding a permissions exception.

I think this should be changed to just throw the exception.