Skip to content

Commit f6dbddd

Browse files
committed
Android: fix crash sideloading
1 parent 8210013 commit f6dbddd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pebble/src/androidMain/kotlin/coredevices/pebble/PebbleDeepLinkHandler.android.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ actual fun writeFile(
4545
): Path? {
4646
val stream = try {
4747
appContext.context.contentResolver.openInputStream(uri.toAndroidUri())
48-
} catch (e: FileNotFoundException) {
49-
logger.e(e) { "writeFile: FileNotFoundException" }
48+
} catch (e: Exception) {
49+
logger.e(e) { "writeFile" }
5050
return null
5151
}
5252
if (stream == null) {

0 commit comments

Comments
 (0)