diff --git a/README.md b/README.md index c5a6a6ee..d3683b38 100644 --- a/README.md +++ b/README.md @@ -175,10 +175,14 @@ Current translations: 1. Polish (pl) 1. Romanian (ro) 1. Russian (ru) +1. Portuguese/Brazilian (pt-rBR) 1. Slovak (sk) 1. Spanish (es) +1. Turkish (tr) 1. Ukrainian (uk) +You can see the actual status of all translations [here](https://crowdin.com/project/netguard). + Please note that you agree to the license below by contributing, including the copyright. Attribution diff --git a/app/src/main/java/eu/faircode/netguard/SinkholeService.java b/app/src/main/java/eu/faircode/netguard/SinkholeService.java index e7200f56..73d8e44f 100644 --- a/app/src/main/java/eu/faircode/netguard/SinkholeService.java +++ b/app/src/main/java/eu/faircode/netguard/SinkholeService.java @@ -109,6 +109,8 @@ public class SinkholeService extends VpnService { if (vpn == null) { startForeground(NOTIFY_FOREGROUND, getForegroundNotification(0, 0)); vpn = startVPN(); + if (vpn == null) + throw new IllegalStateException("VPN failed to start"); startDebug(vpn); removeDisabledNotification(); Widget.updateWidgets(SinkholeService.this);