Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message when ddev auth pantheon has not been run, fixes #2241 #2272

Merged
merged 1 commit into from May 21, 2020

Conversation

rfay
Copy link
Member

@rfay rfay commented May 21, 2020

The Problem/Issue/Bug:

#2241 points out the common problem that if people haven't done a ddev auth pantheon then they get a cryptic message on ddev config pantheon and ddev pull that doesn't say "hey, do a ddev auth pantheon"

How this PR Solves The Problem:

Improves that message to "unable to get Pantheon environments for project %s - Have you authenticated with ddev auth pantheon? Does the ddev project name match the pantheon project name?"

Manual Testing Instructions:

Start a pantheon project without doing a ddev auth pantheon. If you need to kill off the existing authentication, ddev exec rm -r /mnt/ddev-global-cache/terminus/cache/*

ddev config pantheon and see the error message.
ddev auth pantheon and then try ddev config pantheon again to see it work.

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

@rfay rfay linked an issue May 21, 2020 that may be closed by this pull request
@rfay rfay merged commit 8c9f37a into ddev:master May 21, 2020
@rfay rfay deleted the 20200521_pantheon_prompt_when_fails branch May 21, 2020 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prompt user to run auth pantheon if config pantheon, or pull fails
1 participant