diff --git a/CHANGELOG.md b/CHANGELOG.md index b820201..7714c1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Fix bug causing prompts to repeatedly echo input of large strings - dce leases end command can now accept leaseID +- Print out browser URL to be copied and opened in case opening the browser from the Terminal fails such as out of the box on WSL2. ## v0.5.0 diff --git a/internal/util/web.go b/internal/util/web.go index 190ff21..825f386 100644 --- a/internal/util/web.go +++ b/internal/util/web.go @@ -15,7 +15,8 @@ type WebUtil struct { func (w *WebUtil) OpenURL(url string) { if err := browser.OpenURL(url); err != nil { - log.Fatalln("Error opening web browser", err) + log.Errorln("Error opening web browser", err) + log.Infoln("Please copy and visit the following URL in your browser:", url) } }