Refactor error hnadling into a function
Refactor error hnadling into a function

xavfernandez/pip,prasaianooz/pip,dstufft/pip,nthall/pip,caosmo/pip,fiber-space/pip,luzfcb/pip,alex/pip,graingert/pip,RonnyPfannschmidt/pip,jasonkying/pip,jasonkying/pip,jasonkying/pip,luzfcb/pip,zvezdan/pip,prasaianooz/pip,rouge8/pip,pypa/pip,esc/pip,qwcode/pip,KarelJakubec/pip,harrisonfeng/pip,qwcode/pip,pjdelport/pip,h4ck3rm1k3/pip,Ivoz/pip,benesch/pip,xavfernandez/pip,jamezpolley/pip,erikrose/pip,haridsv/pip,benesch/pip,harrisonfeng/pip,jmagnusson/pip,squidsoup/pip,zorosteven/pip,Gabriel439/pip,James-Firth/pip,Gabriel439/pip,harrisonfeng/pip,benesch/pip,graingert/pip,James-Firth/pip,erikrose/pip,alquerci/pip,sigmavirus24/pip,alex/pip,techtonik/pip,jamezpolley/pip,davidovich/pip,cjerdonek/pip,ChristopherHogan/pip,cjerdonek/pip,habnabit/pip,sbidoul/pip,mujiansu/pip,msabramo/pip,alex/pip,pradyunsg/pip,natefoo/pip,caosmo/pip,willingc/pip,rbtcollins/pip,Carreau/pip,squidsoup/pip,natefoo/pip,zorosteven/pip,Ivoz/pip,jythontools/pip,h4ck3rm1k3/pip,zvezdan/pip,jythontools/pip,ChristopherHogan/pip,mattrobenolt/pip,ncoghlan/pip,xavfernandez/pip,esc/pip,tdsmith/pip,KarelJakubec/pip,wkeyword/pip,minrk/pip,pjdelport/pip,sigmavirus24/pip,yati-sagade/pip,RonnyPfannschmidt/pip,rouge8/pip,mindw/pip,dstufft/pip,supriyantomaftuh/pip,tdsmith/pip,mindw/pip,habnabit/pip,ncoghlan/pip,supriyantomaftuh/pip,yati-sagade/pip,habnabit/pip,chaoallsome/pip,patricklaw/pip,squidsoup/pip,James-Firth/pip,pradyunsg/pip,prasaianooz/pip,ncoghlan/pip,wkeyword/pip,zenlambda/pip,erikrose/pip,pypa/pip,pjdelport/pip,yati-sagade/pip,qbdsoft/pip,haridsv/pip,caosmo/pip,rbtcollins/pip,jamezpolley/pip,mindw/pip,pfmoore/pip,Carreau/pip,jmagnusson/pip,qbdsoft/pip,patricklaw/pip,fiber-space/pip,ianw/pip,RonnyPfannschmidt/pip,KarelJakubec/pip,atdaemon/pip,atdaemon/pip,wkeyword/pip,fiber-space/pip,techtonik/pip,willingc/pip,luzfcb/pip,minrk/pip,jmagnusson/pip,zenlambda/pip,alquerci/pip,chaoallsome/pip,mattrobenolt/pip,Gabriel439/pip,rbtcollins/pip,zorosteven/pip,qbdsoft/pip,haridsv/pip,supriyantomaftuh/pip,mujiansu/pip,blarghmatey/pip,nthall/pip,dstufft/pip,pfmoore/pip,h4ck3rm1k3/pip,davidovich/pip,msabramo/pip,blarghmatey/pip,natefoo/pip,zenlambda/pip,atdaemon/pip,willingc/pip,rouge8/pip,ianw/pip,sigmavirus24/pip,tdsmith/pip,graingert/pip,ChristopherHogan/pip,davidovich/pip,zvezdan/pip,jythontools/pip,chaoallsome/pip,mujiansu/pip,esc/pip,nthall/pip,blarghmatey/pip,techtonik/pip,sbidoul/pip