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

misleading error message when GitHub access token is missing/wrong/expired #16

Open
jchartrand opened this issue Aug 10, 2023 · 0 comments

Comments

@jchartrand
Copy link

I get this error when starting up the status manager, if my GitHub access token is missing, incorrect, or expired:

Error: The credential status repo ("status-test-three") and the credential status metadata repo ("status-test-meta-three") must be manually created in advance.
at createStatusManager (file:///Users/jameschartrand/Documents/github/dcc/status-service/node_modules/@digitalcredentials/credential-status-manager-git/dist/esm/credential-status-manager-index.js:61:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async initializeStatusManager (file:///Users/jameschartrand/Documents/github/dcc/status-service/src/status.js:16:31)
at async build (file:///Users/jameschartrand/Documents/github/dcc/status-service/src/app.js:10:5)
at async run (file:///Users/jameschartrand/Documents/github/dcc/status-service/server.js:11:15)

The repositories do exist, it is just the GitHub access token that is incorrect.

Could at some point maybe return a more specific error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants