Crash fix

This commit is contained in:
Brahim Hadriche committed 2025-10-11 15:37:05 -04:00
1 parent 79a8219883
commit 3af6573779
2 files changed
+11 -1

No files matched your search

+6
View File
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- Crash when logging early startup warnings
## [0.42.2] - 2025-10-09
### Fixed
+5 -1
View File
@@ -237,7 +237,11 @@ function ${newFunctionName}(${args.join(', ')}) as void
logger.logLine = line
`;
if (telemetryEnabled) {
result += ` m.global.telemetry.${originalFunctionName} = line\n`;
result += ` telemetry = m.global.telemetry
if telemetry <> invalid
telemetry.${originalFunctionName} = line
end if
`;
}
result += `end function
`;