error copy has to be called explicitly
This commit is contained in:
parent
5a6f63eadb
commit
2d8889983a
|
@ -46,7 +46,7 @@ Own<AsyncIoStream> stream_, Codec codec_, BufferT in_, BufferT out_):
|
|||
|
||||
return Void{};
|
||||
}).sink([this](Error error){
|
||||
incoming_feeder->fail(error);
|
||||
incoming_feeder->fail(error.copyError());
|
||||
|
||||
return error;
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue