NetworkService: dont report empty errors
This commit is contained in:
parent
0567da94dd
commit
eedea01679
1 changed files with 4 additions and 1 deletions
|
|
@ -413,6 +413,9 @@ Singleton {
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleConnectionError(ssid, error) {
|
function handleConnectionError(ssid, error) {
|
||||||
|
if (error === "")
|
||||||
|
return
|
||||||
|
|
||||||
connectingSsid = ""
|
connectingSsid = ""
|
||||||
connectStatus = "error"
|
connectStatus = "error"
|
||||||
connectStatusSsid = ssid
|
connectStatusSsid = ssid
|
||||||
|
|
@ -526,7 +529,7 @@ Singleton {
|
||||||
root.isLoading = false
|
root.isLoading = false
|
||||||
scanProcess.existingProfiles = {}
|
scanProcess.existingProfiles = {}
|
||||||
|
|
||||||
Logger.log("Network", `Found ${Object.keys(networksMap).length} networks`)
|
Logger.log("Network", `Found ${Object.keys(networksMap).length} wireless networks`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue