mgalloy / mglib

IDL library of Michael Galloy
Other
36 stars 28 forks source link

Fix MGffLogger bug when used in IDL_IDLBridge #39

Closed subagonsouth closed 6 years ago

subagonsouth commented 6 years ago

There was an issue using MGffLogger in the IDL_IDLBridge without mglib installed. I found the issue to be due to the !ERROR_STATE not being reset in the catch block within the _is_tty() function. Adding message, /reset resets the error state to success state so that when the IDL_IDLBridge object exits, it does so normally rather than calling the CALLBACK method with an error state reported.

mgalloy commented 6 years ago

Yep, thanks!