Commit 5b13d712 authored by alan.f's avatar alan.f

update-exception-code

parent 86a03328
......@@ -34,15 +34,11 @@ namespace C_UI
await client.AddRequestAsync(request);
await client.SendAsync();
})
.Select(t => t.Wait(1))
.Select(t => t.Exception.Flatten())
.Subscribe(filename =>
{
logger.Warn($"file sent:{filename}");
},
logger.Warn($"file sent:{filename}"),
onError =>
{
logger.Error(onError.Message);
},
logger.Error(onError.Message),
() => { });
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment