Handle http exceptions in HoogleHandler.