make it so the whole program doesn't crash with a bad HTTP response