-
Notifications
You must be signed in to change notification settings - Fork 23
feat: Add feature to allow config-ssh value overrides #69
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
Conversation
src/remote.ts
Outdated
case 401: { | ||
const result = await this.vscodeProposed.window.showInformationMessage( | ||
"Your session expired...", | ||
{ | ||
useCustom: true, | ||
modal: true, | ||
detail: "You must login again to access your workspace.", | ||
}, | ||
"Login", | ||
) | ||
throw error | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the best way to handle this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just throws some error if there is an unauthorized response code. It shouldn't happen because we are logged in, so it's an edge case that we don't need to handle all too well?
Fixes coder/coder#6826 |
Also supports unsetting ssh config options.