error handle in BusinessTopic.Refresh

luisfernandomerlano shared this question 46 days ago
Discussion Open

I wanted to handle the error when a BusinessTopic.Refresh shows "error because this topic is conected to a different account; the instruction "on error goto" or "on error ressume next" not work in winwrap basic language code, anyone konws how can i handle it?

Replies (2)

photo
1

Hello Luis

The error handlers have always worked for me in WWB. Does the message come from MindManager directly, rather than raising an error in the Err object in WWB?

If you don't use any error handling (Resume Next or GoTo) then the macro should stop on the line that raised an exception. If the macro does not stop then maybe MindManager is dealing with this condition within the API.

photo
1

Hello Nick the message come from MM directly, but despite of that i would like to keep the error and direct onther treatment.


thanks in advance

photo
1

I don't know of a way around that. It is not helpful for MindManager to show error messages in the UI in response to an API call. Can you detect the error condition in advance in your own code, and avoid the refresh?

photo
Leave a Comment
 
Attach a file