I created a registration page based on the youtube tutorial and it was working as expected.
Then I duplicated the block that sets text in the statusMessageBlock, and I put this block in the catch area.
The intent is to have the error displayed in a textblock for things like registering an email that already exists. ( I know this is not the best way to notify the user of this problem, but I’m experimenting here)
When I add this block into the catch area, and execute the code, the page goes blank when it hits this block.
In the console I can see the error message as expected (…email already exists…) but I don’t see info telling me why the page crashed.
What am I doing wrong.