Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: enrich thenotLoggedInMessage error message with the full path to the coder#17715

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cstyan merged 4 commits intomainfromcallum-login-error-enrichment
May 12, 2025

Conversation

cstyan
Copy link
Contributor

Opening as a draft for now since I'm not really sure this actually provides any value. We set out toresolve#11505 but for this specific login error, if you are not logged in but any of the CLI arg, env var, or config file values are set for the URL you should instead get theSignedOutErrorMessage related to there not being a login token rather than thisnotLoggedInMessage.

So at the moment, it really seems like all we can do is changecoder toos.Executable() which would give the full path to the coder executable just in case it's not already somewhere that is in the users path.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedMay 7, 2025
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

@cstyan
Copy link
ContributorAuthor

I have read the CLA Document and I hereby sign the CLA

cdrci2 added a commit to coder/cla that referenced this pull requestMay 8, 2025
@cstyancstyan changed the titleenrich thenotLoggedInMessage error message with the full path to the coderfix: enrich thenotLoggedInMessage error message with the full path to the coderMay 8, 2025
@cstyancstyan marked this pull request as ready for reviewMay 8, 2025 21:23
executableSigned-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
goroutineSigned-off-by: Callum Styan <callumstyan@gmail.com>
@cstyancstyanforce-pushed thecallum-login-error-enrichment branch fromfba1720 to364c8bfCompareMay 8, 2025 22:46
Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyancstyan requested review frommafredri andf0sselMay 9, 2025 22:06
@cstyancstyan merged commit578b9ff intomainMay 12, 2025
34 checks passed
@cstyancstyan deleted the callum-login-error-enrichment branchMay 12, 2025 18:45
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 12, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@f0sself0sself0ssel approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@cstyancstyan

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Display environment context in error messages likeTry logging in using 'coder login <url>'
2 participants
@cstyan@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp