diff --git a/Inotify/Sends/Products/HttpPostTemplate.cs b/Inotify/Sends/Products/HttpPostTemplate.cs index 0391085..10dac71 100644 --- a/Inotify/Sends/Products/HttpPostTemplate.cs +++ b/Inotify/Sends/Products/HttpPostTemplate.cs @@ -55,19 +55,9 @@ namespace Inotify.Sends.Products return true; } - catch(Exception ex) + catch { - WebException wex = (WebException)ex; - var s = wex.Response.GetResponseStream(); - string ss = ""; - int lastNum; - do - { - lastNum = s.ReadByte(); - ss += (char)lastNum; - } while (lastNum != -1); - s.Close(); - + return false; } }