envtransfer icon indicating copy to clipboard operation
envtransfer copied to clipboard

auth is not working

Open osiyuk opened this issue 10 years ago • 2 comments

after code submit its returns Error connection

osiyuk avatar Jun 15 '15 19:06 osiyuk

@@ -15,8 +15,9 @@ def function_exception(func):
             else:
                 func(*args)
             return new_func
-        except urllib2.URLError:
-            print "Error connection"
+        except urllib2.URLError as e:
+            print "Connection error"
+            print e.fp.read()
         except IOError:
             print "File error"
         except TypeError:
py core.py auth
Connection error
Use HTTPS, Luke

osiyuk avatar Jun 15 '15 20:06 osiyuk

c0872731b651853517d01780dccb3744743e853c solved @deslum

osiyuk avatar Jun 16 '15 00:06 osiyuk