mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-22 16:27:41 +00:00
This makes it easier to track what is happening for errors where otherwise we found that exception messages were being cropped; for example, see KEYMAN-WINDOWS-X. The error messages were being cropped because the exception handler was in the exe module, but the exception was being raised in kmcomapi module. When the exception was handled, the handler tested to see if the exception object inherited from exemodule.Exception, but it was inheriting from kmcomapi.Exception instead, and so it did not attempt to load the message detail. By adding `safecall` calling convention to `KeymanCustomisation`, we move responsibility for handling the exception to the `TKeymanAutoObject.SafeCallException` function, and we get full detail for the exception. |
||
|---|---|---|
| .. | ||
| cpp | ||
| delphi | ||
| Makefile | ||