resp may not be set if whoami throws