Buck documentation generator should fail on http server error
Buck documentation generator should fail on http server error

Summary: Instead of copying a server error message into the output file, fail.

Test Plan:Use a server that always return 404, run the script, see that it gives up
instead of copying a 404 page.

Reviewed By: andrewjcg

fb-gh-sync-id: 18a6cf3
fbshipit-source-id: 18a6cf3

justinmuller/buck,kageiit/buck,kageiit/buck,clonetwin26/buck,kageiit/buck,darkforestzero/buck,SeleniumHQ/buck,OkBuilds/buck,Dominator008/buck,grumpyjames/buck,raviagarwal7/buck,facebook/buck,illicitonion/buck,clonetwin26/buck,Dominator008/buck,nguyentruongtho/buck,OkBuilds/buck,Addepar/buck,dsyang/buck,dsyang/buck,shybovycha/buck,OkBuilds/buck,janicduplessis/buck,kageiit/buck,raviagarwal7/buck,facebook/buck,dsyang/buck,raviagarwal7/buck,kageiit/buck,robbertvanginkel/buck,Addepar/buck,janicduplessis/buck,romanoid/buck,bocon13/buck,shs96c/buck,grumpyjames/buck,sdwilsh/buck,OkBuilds/buck,bocon13/buck,LegNeato/buck,shybovycha/buck,clonetwin26/buck,rmaz/buck,illicitonion/buck,shs96c/buck,robbertvanginkel/buck,janicduplessis/buck,darkforestzero/buck,OkBuilds/buck,raviagarwal7/buck,OkBuilds/buck,facebook/buck,justinmuller/buck,raviagarwal7/buck,sdwilsh/buck,SeleniumHQ/buck,janicduplessis/buck,Addepar/buck,brettwooldridge/buck,darkforestzero/buck,Dominator008/buck,marcinkwiatkowski/buck,OkBuilds/buck,bocon13/buck,nguyentruongtho/buck,vschs007/buck,bocon13/buck,zpao/buck,robbertvanginkel/buck,OkBuilds/buck,rmaz/buck,ilya-klyuchnikov/buck,davido/buck,sdwilsh/buck,daedric/buck,daedric/buck,romanoid/buck,sdwilsh/buck,k21/buck,rmaz/buck,dsyang/buck,ilya-klyuchnikov/buck,facebook/buck,sdwilsh/buck,bocon13/buck,davido/buck,shs96c/buck,grumpyjames/buck,rmaz/buck,sdwilsh/buck,shybovycha/buck,bocon13/buck,clonetwin26/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,vschs007/buck,brettwooldridge/buck,zhan-xiong/buck,bocon13/buck,raviagarwal7/buck,Dominator008/buck,davido/buck,vschs007/buck,illicitonion/buck,shs96c/buck,k21/buck,rmaz/buck,k21/buck,davido/buck,Addepar/buck,daedric/buck,LegNeato/buck,LegNeato/buck,brettwooldridge/buck,davido/buck,illicitonion/buck,rmaz/buck,k21/buck,robbertvanginkel/buck,janicduplessis/buck,davido/buck,JoelMarcey/buck,SeleniumHQ/buck,shybovycha/buck,shs96c/buck,SeleniumHQ/buck,grumpyjames/buck,zhan-xiong/buck,bocon13/buck,ilya-klyuchnikov/buck,shs96c/buck,LegNeato/buck,darkforestzero/buck,Addepar/buck,darkforestzero/buck,grumpyjames/buck,zhan-xiong/buck,clonetwin26/buck,zpao/buck,davido/buck,grumpyjames/buck,zhan-xiong/buck,SeleniumHQ/buck,ilya-klyuchnikov/buck,sdwilsh/buck,dsyang/buck,raviagarwal7/buck,LegNeato/buck,shybovycha/buck,shybovycha/buck,zhan-xiong/buck,JoelMarcey/buck,ilya-klyuchnikov/buck,illicitonion/buck,illicitonion/buck,daedric/buck,clonetwin26/buck,romanoid/buck,vschs007/buck,shybovycha/buck,brettwooldridge/buck,Dominator008/buck,brettwooldridge/buck,davido/buck,janicduplessis/buck,vschs007/buck,vschs007/buck,grumpyjames/buck,rmaz/buck,raviagarwal7/buck,OkBuilds/buck,brettwooldridge/buck,Addepar/buck,illicitonion/buck,clonetwin26/buck,marcinkwiatkowski/buck,sdwilsh/buck,bocon13/buck,grumpyjames/buck,janicduplessis/buck,zpao/buck,daedric/buck,Dominator008/buck,rmaz/buck,Addepar/buck,darkforestzero/buck,vschs007/buck,JoelMarcey/buck,zhan-xiong/buck,janicduplessis/buck,robbertvanginkel/buck,shs96c/buck,sdwilsh/buck,rmaz/buck,romanoid/buck,robbertvanginkel/buck,davido/buck,illicitonion/buck,Addepar/buck,JoelMarcey/buck,vschs007/buck,marcinkwiatkowski/buck,LegNeato/buck,daedric/buck,sdwilsh/buck,JoelMarcey/buck,dsyang/buck,marcinkwiatkowski/buck,bocon13/buck,daedric/buck,darkforestzero/buck,shs96c/buck,marcinkwiatkowski/buck,clonetwin26/buck,JoelMarcey/buck,justinmuller/buck,bocon13/buck,illicitonion/buck,SeleniumHQ/buck,marcinkwiatkowski/buck,darkforestzero/buck,zpao/buck,SeleniumHQ/buck,Addepar/buck,zhan-xiong/buck,SeleniumHQ/buck,daedric/buck,Dominator008/buck,LegNeato/buck,davido/buck,OkBuilds/buck,sdwilsh/buck,nguyentruongtho/buck,robbertvanginkel/buck,dsyang/buck,janicduplessis/buck,zpao/buck,LegNeato/buck,shybovycha/buck,romanoid/buck,darkforestzero/buck,clonetwin26/buck,kageiit/buck,shs96c/buck,raviagarwal7/buck,robbertvanginkel/buck,romanoid/buck,marcinkwiatkowski/buck,grumpyjames/buck,daedric/buck,raviagarwal7/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,dsyang/buck,romanoid/buck,Dominator008/buck,justinmuller/buck,davido/buck,marcinkwiatkowski/buck,justinmuller/buck,zhan-xiong/buck,LegNeato/buck,dsyang/buck,ilya-klyuchnikov/buck,darkforestzero/buck,marcinkwiatkowski/buck,facebook/buck,k21/buck,brettwooldridge/buck,shybovycha/buck,illicitonion/buck,LegNeato/buck,darkforestzero/buck,davido/buck,zhan-xiong/buck,raviagarwal7/buck,shybovycha/buck,clonetwin26/buck,SeleniumHQ/buck,davido/buck,shs96c/buck,dsyang/buck,Addepar/buck,Addepar/buck,daedric/buck,k21/buck,clonetwin26/buck,darkforestzero/buck,marcinkwiatkowski/buck,vschs007/buck,sdwilsh/buck,darkforestzero/buck,brettwooldridge/buck,romanoid/buck,brettwooldridge/buck,romanoid/buck,k21/buck,k21/buck,rmaz/buck,OkBuilds/buck,daedric/buck,justinmuller/buck,brettwooldridge/buck,romanoid/buck,Dominator008/buck,nguyentruongtho/buck,illicitonion/buck,shybovycha/buck,illicitonion/buck,JoelMarcey/buck,grumpyjames/buck,justinmuller/buck,OkBuilds/buck,SeleniumHQ/buck,nguyentruongtho/buck,k21/buck,shs96c/buck,rmaz/buck,JoelMarcey/buck,zhan-xiong/buck,justinmuller/buck,clonetwin26/buck,dsyang/buck,Addepar/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,facebook/buck,shybovycha/buck,JoelMarcey/buck,marcinkwiatkowski/buck,nguyentruongtho/buck,rmaz/buck,janicduplessis/buck,janicduplessis/buck,shybovycha/buck,JoelMarcey/buck,bocon13/buck,Dominator008/buck,Addepar/buck,kageiit/buck,justinmuller/buck,rmaz/buck,clonetwin26/buck,dsyang/buck,justinmuller/buck,JoelMarcey/buck,zhan-xiong/buck,vschs007/buck,justinmuller/buck,JoelMarcey/buck,SeleniumHQ/buck,justinmuller/buck,romanoid/buck,daedric/buck,dsyang/buck,vschs007/buck,zpao/buck,k21/buck,brettwooldridge/buck,nguyentruongtho/buck,vschs007/buck,LegNeato/buck,zpao/buck,grumpyjames/buck,zhan-xiong/buck,k21/buck,k21/buck,SeleniumHQ/buck,k21/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,robbertvanginkel/buck,grumpyjames/buck,raviagarwal7/buck,ilya-klyuchnikov/buck,LegNeato/buck,Dominator008/buck,robbertvanginkel/buck,LegNeato/buck,shs96c/buck,justinmuller/buck,facebook/buck,brettwooldridge/buck,romanoid/buck,illicitonion/buck,raviagarwal7/buck,daedric/buck,shs96c/buck,Dominator008/buck,SeleniumHQ/buck,romanoid/buck,sdwilsh/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,ilya-klyuchnikov/buck,OkBuilds/buck,zhan-xiong/buck,vschs007/buck,janicduplessis/buck,marcinkwiatkowski/buck,robbertvanginkel/buck