Add backend failure handling with :ok | :error so the uploader can handle it.
authorThurloat <thurloat@gmail.com>
Thu, 30 Aug 2018 01:07:28 +0000 (22:07 -0300)
committerThurloat <thurloat@gmail.com>
Thu, 30 Aug 2018 01:07:28 +0000 (22:07 -0300)
commitaf01f0196a43454728f6e0ca8b9b8be208743251
tree69b055a949545e75c6fe7e2a08d1185ea4d46b14
parentd424e9fa5f3d0d1ff9e416f6bf548e0e8bb02361
Add backend failure handling with :ok | :error so the uploader can handle it.

defaulting to :ok, since that's the currently level of error handling.
lib/pleroma/upload.ex
lib/pleroma/uploaders/local.ex
lib/pleroma/uploaders/s3.ex
lib/pleroma/uploaders/swift/swift.ex
lib/pleroma/uploaders/swift/uploader.ex
lib/pleroma/uploaders/uploader.ex