Solution: make error handling consistent and use retired_fd to remove code duplication
Attach a file by drag & drop or click to upload