Log verification failure in tunnel
This commit is contained in:
parent
74ed93a966
commit
2ccd3052ac
|
@ -91,7 +91,7 @@ private extension PacketTunnelProvider {
|
||||||
} catch {
|
} catch {
|
||||||
let error = PassepartoutError(.App.ineligibleProfile)
|
let error = PassepartoutError(.App.ineligibleProfile)
|
||||||
environment.setEnvironmentValue(error.code, forKey: TunnelEnvironmentKeys.lastErrorCode)
|
environment.setEnvironmentValue(error.code, forKey: TunnelEnvironmentKeys.lastErrorCode)
|
||||||
pp_log(.app, .fault, "Profile \(profile.id) requires a purchase to work, shutting down")
|
pp_log(.app, .fault, "Verification failed for profile \(profile.id), shutting down: \(error)")
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue