]> dgit.raspbian.org Git - git-annex.git/commit
fix handling of ERROR in response to REMOVE
authorJoey Hess <joeyh@joeyh.name>
Fri, 28 Jun 2024 18:07:23 +0000 (14:07 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 28 Jun 2024 18:10:25 +0000 (14:10 -0400)
commit158d7bc933d173775c46b6df52af70d1eafece98
treeb0003ae2f506f92ad44bdc04b7d96ed3c9db92e7
parenta6ea057f6be427026f67d4082455c22f51985b5b
fix handling of ERROR in response to REMOVE

This allows an error message from a proxied special remote to be
displayed to the client.

In the case where removal from several nodes of a cluster fails,
there can be several errors. What to do? I decided to only show
the first error to the user. Probably in this case the user is not in a
position to do anything about an error message, so best keep it simple.
If the problem with the first node is fixed, they'll see the error from
the next node.
Annex/Proxy.hs
P2P/Protocol.hs
P2P/Proxy.hs
Remote/Git.hs
Remote/Helper/P2P.hs