diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-12-15 16:42:28 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-12-15 16:42:28 +0100 |
commit | 1e710399e226b4b18ea29e20c32c1aa7d5293dd4 (patch) | |
tree | 09788ce775856dfff2315efa4990fc2788b5af9f /src/de/blinkt/openvpn/FileProvider.java | |
parent | a51eda3d7de8387316814cadddc1f5fde3c8b3aa (diff) |
Always log Exception to log
Diffstat (limited to 'src/de/blinkt/openvpn/FileProvider.java')
-rw-r--r-- | src/de/blinkt/openvpn/FileProvider.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/FileProvider.java b/src/de/blinkt/openvpn/FileProvider.java index 671d6446..9ffd6545 100644 --- a/src/de/blinkt/openvpn/FileProvider.java +++ b/src/de/blinkt/openvpn/FileProvider.java @@ -18,6 +18,7 @@ import android.os.Bundle; import android.os.ParcelFileDescriptor; import android.provider.OpenableColumns; import android.util.Log; +import de.blinkt.openvpn.core.VpnStatus; /** * A very simple content provider that can serve arbitrary asset files from @@ -51,8 +52,8 @@ implements PipeDataWriter<InputStream> { c.addRow(row); return c; } catch (FileNotFoundException e) { - e.printStackTrace(); - return null; + VpnStatus.logException(e); + return null; } |