Re: When you get an error on connect - WeOnlyDo Discussion board

Re: When you get an error on connect (General questions)

by Scots, Thursday, November 17, 2011, 18:21 (4756 days ago) @ wodDamir

Scot,

You say you're using events, but I see that there is a Blocking property set to True in your code.

When you're using Blocking, no component methods should be called from events at all. Instead, if error occurs, it will throw an exception on the method that caused it.

You need to use some error handling technique available in PB, such as try...catch blocks.

Can you please try doing so?

I guess I'm confused
I'm not sure what you mean by Catch blocks
The way I did this, works ok... if we get connected properly
but... if it fails to connect, that's when I have problems


Complete thread: