added a print for error handling in the yam.login troubleshooting thing