ywana-core8 0.1.42 → 0.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.1.42",
3
+ "version": "0.1.43",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -99,8 +99,9 @@ export const ChangeUserPasswordAction = (props) => {
99
99
  })
100
100
  site.closeDialog()
101
101
  } catch (error) {
102
- const key = error.message.toUpperCase()
103
- const message = errorMessages[key]?.description || error.message
102
+ console.log("ChangeUserPasswordAction error", error)
103
+ const key = error.message ? error.message.toUpperCase() : ""
104
+ const message = errorMessages[key]?.description || error.message || "Unknown error"
104
105
  site.notify({
105
106
  title: "Error",
106
107
  body: message,