Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Errors being incorrectly ignored
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00834346
Message ID:
00835120
Views:
19
No one really had anything to offer here, but I thought I'd post a follow up because I did eventually find the problem on my own.

What I discovered is that the code that called the external application was using a TRY...CATCH...FINALLY block to trap errors. Because the TRY structure was in effect, the global ON ERROR routine was not executed. When I removed the TRY block from the calling routine, the ON ERROR routine began to execute.

I still cannot explain though why the TRY block did not display the error itself. My best guess (and it's only a guess) is that, because the code was in a separate executable, an exception object was not created. Any thoughts?
John Groft
Consultant
Computer Task Group, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform