Hue - Fix ABFS file upload
Tested using ABFSFileUploadHandler, uploaded local file and verified it appears with content.
@@ -82,7 +82,7 @@ class ABFSFileUploadHandler(FileUploadHandler):
self._fs.create(self.target_path)
self.file = SimpleUploadedFile(name=file_name, content='')
raise StopFutureHandlers()
- except (ABFSFileUploadHandler, ABFSFileSystemException) as e:
+ except (ABFSFileUploadError, ABFSFileSystemException) as e:
LOG.error("Encountered error in ABFSUploadHandler check_access: %s" % e)
self.request.META['upload_failed'] = e
raise StopUpload()
