We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8210013 commit f6dbdddCopy full SHA for f6dbddd
1 file changed
pebble/src/androidMain/kotlin/coredevices/pebble/PebbleDeepLinkHandler.android.kt
@@ -45,8 +45,8 @@ actual fun writeFile(
45
): Path? {
46
val stream = try {
47
appContext.context.contentResolver.openInputStream(uri.toAndroidUri())
48
- } catch (e: FileNotFoundException) {
49
- logger.e(e) { "writeFile: FileNotFoundException" }
+ } catch (e: Exception) {
+ logger.e(e) { "writeFile" }
50
return null
51
}
52
if (stream == null) {
0 commit comments