dont fail if server not found
This commit is contained in:
parent
0d4ed65b29
commit
0b7b2d594c
|
@ -253,7 +253,6 @@ function CreateServerGroup()
|
|||
dialog.title = tr("Connecting to Server")
|
||||
m.scene.dialog = dialog
|
||||
serverUrl = inferServerUrl(screen.serverUrl)
|
||||
if serverUrl = invalid then serverUrl = ""
|
||||
'If this is a different server from what we know, reset username/password setting
|
||||
if m.global.session.server.url <> serverUrl
|
||||
set_setting("username", "")
|
||||
|
|
|
@ -198,12 +198,12 @@ function inferServerUrl(url as string)
|
|||
handled += 1
|
||||
if handled = reqs.count()
|
||||
print("ALL HANDLED")
|
||||
return invalid
|
||||
return ""
|
||||
end if
|
||||
end while
|
||||
print "TIMED OUT"
|
||||
' we never actually get here but the linter can't tell
|
||||
return invalid
|
||||
return ""
|
||||
end function
|
||||
|
||||
function urlCandidates(input as string)
|
||||
|
|
Loading…
Reference in New Issue
Block a user