[2.3] - Return error message when error there is when deleting a file

Since there is no form, errors were never displayed.