Skip to content

Commit 98e3583

Browse files
committed
Catch & report more exceptions in the VPN thread
1 parent a2a93f4 commit 98e3583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/tech/httptoolkit/android/ProxyVpnRunnable.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class ProxyVpnRunnable(
7676
try {
7777
packet.limit(length)
7878
handler.handlePacket(packet)
79-
} catch (e: PacketHeaderException) {
79+
} catch (e: Exception) {
8080
Sentry.capture(e)
8181
Log.e(TAG, e.message)
8282
}

0 commit comments

Comments
 (0)