File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ func (r *RootCmd) proxyServer() *clibase.Cmd {
258258 ),
259259 Handler : func (inv * clibase.Invocation ) error {
260260 if ! (primaryAccessURL .Scheme == "http" || primaryAccessURL .Scheme == "https" ) {
261- return xerrors .Errorf ("primary access URL must be http or https: url=%s" , primaryAccessURL )
261+ return xerrors .Errorf ("primary access URL must be http or https: url=%s" , primaryAccessURL . String () )
262262 }
263263
264264 secKey , err := workspaceapps .KeyFromString (appSecuritYKey .Value ())
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ fatal() {
183183 log " Using external workspace proxy"
184184 (
185185 # Attempt to delete the proxy first, in case it already exists.
186- " ${CODER_DEV_SHIM} " proxy delete name=local-proxy
186+ " ${CODER_DEV_SHIM} " proxy delete name=local-proxy || true
187187 # Create the proxy
188188 proxy_session_token=$( " ${CODER_DEV_SHIM} " proxy register --name=local-proxy --display-name=" Local Proxy" --icon=" /emojis/1f4bb.png" --access-url=http://localhost:3010 --only-token)
189189 # Start the proxy
You can’t perform that action at this time.
0 commit comments