Loading WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs +14 −11 Original line number Diff line number Diff line Loading @@ -153,6 +153,8 @@ namespace Microsoft.Tools.WindowsDevicePortal { HttpErrorResponse errorResponse = DevicePortal.ReadJsonStream<HttpErrorResponse>(dataStream); if (errorResponse != null) { error.HResult = errorResponse.ErrorCode; error.Reason = errorResponse.ErrorMessage; Loading @@ -169,6 +171,7 @@ namespace Microsoft.Tools.WindowsDevicePortal } } } } catch (Exception) { // Do nothing if we fail to get additional error details from the response body. Loading Loading
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs +14 −11 Original line number Diff line number Diff line Loading @@ -153,6 +153,8 @@ namespace Microsoft.Tools.WindowsDevicePortal { HttpErrorResponse errorResponse = DevicePortal.ReadJsonStream<HttpErrorResponse>(dataStream); if (errorResponse != null) { error.HResult = errorResponse.ErrorCode; error.Reason = errorResponse.ErrorMessage; Loading @@ -169,6 +171,7 @@ namespace Microsoft.Tools.WindowsDevicePortal } } } } catch (Exception) { // Do nothing if we fail to get additional error details from the response body. Loading