Skip to content

Commit

Permalink
fix(android): adjust Android plugin command exception to use e.message (
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed May 1, 2023
1 parent e68a08d commit edb16d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/android-plugin-command-exception.md
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Adjust Android plugin exception error.
Expand Up @@ -119,7 +119,7 @@ class PluginManager(val activity: AppCompatActivity) {
plugins[pluginId]?.invoke(invoke)
}
} catch (e: Exception) {
invoke.reject(e.toString())
invoke.reject(e.message)
}
}

Expand Down

0 comments on commit edb16d1

Please sign in to comment.