fix display when proxied GET yields ERROR
The error message is not displayed to the use, but this mirrors the behavior when a regular get from a special remote fails. At least now there is not a protocol error.
This commit is contained in:
parent
dce3848ad8
commit
fa5e7463eb
5 changed files with 21 additions and 16 deletions
|
@ -623,6 +623,8 @@ receiveContent mm p sizer storer mkmsg = do
|
|||
validitycheck
|
||||
sendSuccess (observeBool v)
|
||||
return v
|
||||
Just (ERROR _err) ->
|
||||
return observeFailure
|
||||
_ -> do
|
||||
net $ sendMessage (ERROR "expected DATA")
|
||||
return observeFailure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue