Make caught errors warnings instead

This commit is contained in:
Davide De Rosa 2018-11-06 11:03:15 +01:00
parent 299c4088ad
commit 0c389d8d8e
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ class ConnectionService: Codable {
cache[key] = PlaceholderConnectionProfile(key)
}
} catch let e {
log.error("Could not list provider contents: \(e) (\(providersURL))")
log.warning("Could not list provider contents: \(e) (\(providersURL))")
}
do {
let files = try fm.contentsOfDirectory(at: hostsURL, includingPropertiesForKeys: nil, options: [])
@ -222,7 +222,7 @@ class ConnectionService: Codable {
cache[key] = PlaceholderConnectionProfile(key)
}
} catch let e {
log.error("Could not list host contents: \(e) (\(hostsURL))")
log.warning("Could not list host contents: \(e) (\(hostsURL))")
}
}