Handle exception from flag host