Since the GUI actions are triggered from UI C code and therefore the environment, and handling with pcall it is not possible to eliminate the logging into dcs.log when error occurs within the UI invocation.
However, the entry itself should continue in case of errors.
Since the GUI actions are triggered from UI C code and therefore the environment, and handling with pcall it is not possible to eliminate the logging into dcs.log when error occurs within the UI invocation.
However, the entry itself should continue in case of errors.