Commit d4a5d43f authored by Mahmoud Bakhtvar's avatar Mahmoud Bakhtvar

.Catch< added

parent 8accf73d
......@@ -32,7 +32,7 @@ namespace C_UI
request.OnResponseReceived += (req, response) => logger.Info($"{response.Status}-{fileName}");
await client.AddRequestAsync(request);
await client.SendAsync();
}).Select(x => fileName))
}).Select(x => fileName).Catch<string, Exception>(exp => throw new Exception($"failed to send: {fileName}, with error:{exp.Message}")))
.Concat()
.Subscribe(
filename =>
......
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