mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-01 15:36:14 +03:00
fix(android): adjust Android plugin command exception to use e.message (#6831)
This commit is contained in:
parent
e68a08da51
commit
edb16d13a5
5
.changes/android-plugin-command-exception.md
Normal file
5
.changes/android-plugin-command-exception.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Adjust Android plugin exception error.
|
@ -119,7 +119,7 @@ class PluginManager(val activity: AppCompatActivity) {
|
||||
plugins[pluginId]?.invoke(invoke)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
invoke.reject(e.toString())
|
||||
invoke.reject(e.message)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user