File tree 2 files changed +2
-2
lines changed
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 {
258
258
),
259
259
Handler : func (inv * clibase.Invocation ) error {
260
260
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 () )
262
262
}
263
263
264
264
secKey , err := workspaceapps .KeyFromString (appSecuritYKey .Value ())
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ fatal() {
183
183
log " Using external workspace proxy"
184
184
(
185
185
# 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
187
187
# Create the proxy
188
188
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)
189
189
# Start the proxy
You can’t perform that action at this time.
0 commit comments