Fix for error message sent by attachments module
Fix for error message sent by attachments module

This fixes the static 'err' message when uploading unsupported file via apostrophe-attachments. The change renders a meaningful message in the frontend in case of error.
punkave/apostrophe,punkave/apostrophe