lightning-browser-extension
lightning-browser-extension copied to clipboard
Error message: (Cannot read properties of undefined (reading "error")
Describe the bug
Sometimes we give the user an error message that says Error message: (Cannot read properties of undefined (reading "error")
Which basically means that our code somewhere tried to access an errror
on something that is not there. This probably prevents that a useful error message is show.
I am not sure where exactly this happens and what code causes it.
do you have a simplified test case or reproduction steps to see an example of this?
Looks like this happens if an action is not getting a correct return from whatever it called.
Could you give a flow to reproduce this issue?
this is a rare unknown case, so I don't know the flow how to reproduce this. best ignore this issue for now