Rod Hynes 11 lat temu
rodzic
commit
ce6d7ef1da
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      psiphon/serverApi.go

+ 1 - 1
psiphon/serverApi.go

@@ -92,7 +92,7 @@ func (session *Session) DoStatusRequest(statsPayload json.Marshaler, final bool)
 
 
 	err = session.doPostRequest(url, "application/json", bytes.NewReader(statsPayloadJSON))
 	err = session.doPostRequest(url, "application/json", bytes.NewReader(statsPayloadJSON))
 	if err != nil {
 	if err != nil {
-		return nil, ContextError(err)
+		return ContextError(err)
 	}
 	}
 
 
 	return nil
 	return nil