begin/rescue on http errors

because on_error => continue seems to do nothing