fix: --connection-token-file not functional in "code serve-web" (#223524)

Fixes #215537
This commit is contained in:
Connor Peet
2024-07-24 10:36:49 -07:00
committed by GitHub
parent 3873c58c47
commit b6d022bc08
2 changed files with 15 additions and 7 deletions

View File

@@ -512,6 +512,8 @@ pub enum CodeError {
// todo: can be specialized when update service is moved to CodeErrors
#[error("Could not check for update: {0}")]
UpdateCheckFailed(String),
#[error("Could not read connection token file: {0}")]
CouldNotReadConnectionTokenFile(std::io::Error),
#[error("Could not write connection token file: {0}")]
CouldNotCreateConnectionTokenFile(std::io::Error),
#[error("A tunnel with the name {0} exists and is in-use. Please pick a different name or stop the existing tunnel.")]