Fix T100183: Setup assist: don't quit when browser can't be launched
When launching Flamenco from a server system with no way to open a web browser, just ask the user to launch one. Quitting the Manager because of this was a bit too dramatic.
This commit is contained in:
parent
f97bfac8c5
commit
7d3d3d1d60
@ -288,10 +288,10 @@ func openWebbrowser(ctx context.Context, url url.URL) {
|
||||
|
||||
urlToTry := url.String()
|
||||
if err := browser.OpenURL(urlToTry); err != nil {
|
||||
log.Fatal().Err(err).Msgf("unable to open a browser to %s", urlToTry)
|
||||
log.Error().Err(err).Msgf("unable to open a browser to %s, please open it yourself or try any of the other URLs above", urlToTry)
|
||||
return
|
||||
}
|
||||
log.Info().Str("url", urlToTry).Msgf("opened browser to the Flamenco interface")
|
||||
|
||||
}
|
||||
|
||||
func parseCliArgs() {
|
||||
|
Loading…
Reference in New Issue
Block a user