catching another exception that possibly occurs if credentials are wrong