Get rid of forgotten fatal error and just exit

This commit is contained in:
Sergey Abramchuk
2017-03-16 21:33:09 +03:00
parent 82d9b4115f
commit 60690fd8fb

View File

@@ -102,7 +102,7 @@ extension PacketTunnelProvider: OpenVPNAdapterDelegate {
func handle(error: Error) {
// Handle only fatal errors
guard let fatal = (error as NSError).userInfo[OpenVPNAdapterErrorFatalKey] as? Bool, fatal == true else {
fatalError("")
return
}
if let startHandler = startHandler {