Skip to content

Exception throw when server is offline at start of eventsource #8

@zhangyuezhong

Description

@zhangyuezhong

class WebRequester : IWebRequester

var taskResp = Task.Factory.FromAsync<WebResponse>(wreq.BeginGetResponse, wreq.EndGetResponse, null).ContinueWith<IServerResponse>(t => new ServerResponse(t.Result), TaskContinuationOptions.NotOnFaulted);

should TaskContinuationOption.NotOnFaulted, otherwise, exception throw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions