Skip to content

System.Net.WebException crash when there's no Internet connection. Windows 10 UWP #109

@SalehAlbuga

Description

@SalehAlbuga

The sdk throws System.Net.WebException when there's no Internet connection.
Here is the stack trace. Note that I'm using the source from pull request #91 to be able to work on Windows 10.

Here is the Stack Trace:

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Parse.Internal.InternalExtensions.<>c__DisplayClass13_0`1.<OnSuccess>b__0(Task t)
   at System.Threading.Tasks.ContinuationResultTaskFromTask`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute() 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions