Error 507 handling

im trying to prevent my app from crashing after having an error when I try to connect to an offline HC-05 (ex. "error 507 unable to connect. is the device turned on?") what do I do and how do I do it? i apologize for my code blocks, I'm not so sure what I'm doing :sweat_smile:

I would start by removing the circled Screen1 open block from the Screen1 error event.

additionally you can simplify the blocks like this


ok, what's next?

What's next?