Skip to content
Snippets Groups Projects
Commit 2daac1d1 authored by Parménides GV's avatar Parménides GV
Browse files

Bitmask does not show the log if an error happens.

ics-openvpn already shows it if necessary. Our heuristic (just looking
for an "error" keyword in the past N messages of the log) is very weak,
and it returns an annoying false positive: turning off the VPN triggers
the show log error.
parent c260dff0
No related branches found
No related tags found
No related merge requests found
......@@ -244,10 +244,7 @@ public class VpnFragment extends Fragment implements Observer {
Context context = dashboard.getApplicationContext();
String error = eip_status.lastError(5, context);
if (!error.isEmpty()) {
dashboard.showLog();
VoidVpnService.stop();
}
if (!error.isEmpty()) VoidVpnService.stop();
updateIcon();
updateButton();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment