try except on client