TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
Other
78
stars
26
forks
source link
Convert window/showMessage notifications to telemetry/event #2670
This is a minimalistic approach to LS exception tracking :
in TypeCobolServerHost, as soon as the TypeCobolServer instance is available , add a new ILogger.
this new logger would be responsible for sending a telemetry/event as described in #2668 when the LogException method is called. It will be naturally dependent from the TypeCobolServer as it requires to send JSON to the client.
remove the call to ShowErrorMessage from NotifyException and move it to UnhandledExceptionHandler, to ensure a message is still displayed in the event of a server crash.
Child of #2668.
This is a minimalistic approach to LS exception tracking :
TypeCobolServerHost
, as soon as theTypeCobolServer
instance is available , add a newILogger
.telemetry/event
as described in #2668 when theLogException
method is called. It will be naturally dependent from theTypeCobolServer
as it requires to send JSON to the client.ShowErrorMessage
fromNotifyException
and move it toUnhandledExceptionHandler
, to ensure a message is still displayed in the event of a server crash.