Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Facilitate debugging on connection failure #52

Open
hadrienk opened this issue May 16, 2019 · 2 comments
Open

Facilitate debugging on connection failure #52

hadrienk opened this issue May 16, 2019 · 2 comments

Comments

@hadrienk
Copy link

When setting up the module, I had a lot of trouble with the GOOGLE_APPLICATION_CREDENTIAL environment. The reason was some CI/CD details, but it would have saved me a lot of time to have some sort of diagnostic when the connection fails.

I am thinking:

  • Display the GOOGLE_APPLICATION_CREDENTIAL.
    • If value present, open the file. Report IO errors
      • Try parsing the file's content. Report errors (without displaying the value though)
      • If no error, display a hash value of the content on debug
@gkatzioura
Copy link
Owner

You can do so if you use -X on maven. It actually displays all the logs

@gkatzioura
Copy link
Owner

mvn -X deploy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants