partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 401 forks source link

When an attachment file is missing from the server, no error is shown #503

Closed matthijskooijman closed 8 years ago

matthijskooijman commented 8 years ago

When an attachment file is missing from the server (in my case due to #502), a 500 internal server error is returned, but without any meaningful error message. The PHP error log and partkeepr.log don't mention this error at all either.

Drachenkaetzchen commented 8 years ago

Further investigation required if exceptions are serialized properly.

Drachenkaetzchen commented 8 years ago

I just double-checked, the response is indeed a JSON-LD string when any other exception occurs.