From 2c22e97dbe8b86ed25fef806a2dac8a72e98a6af Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 20 Sep 2025 08:52:01 -0400 Subject: [PATCH] Fix crash due to bad type casting --- CHANGELOG.md | 1 + playlet-lib/src/components/Telemetry/Sentry.bs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 388d74d9..e376930c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Various fixes and improvements +- Crash due to bad type casting ## [0.41.17] - 2025-09-19 diff --git a/playlet-lib/src/components/Telemetry/Sentry.bs b/playlet-lib/src/components/Telemetry/Sentry.bs index 113c960a..4cfecd23 100644 --- a/playlet-lib/src/components/Telemetry/Sentry.bs +++ b/playlet-lib/src/components/Telemetry/Sentry.bs @@ -136,7 +136,7 @@ namespace Sentry return [fingerprint] end function - function ReplaceRequestId(message as string) as string + function ReplaceRequestId(message as string) as dynamic reqIdStart = `\nRequestId: ` reqIdPlaceholder = "" result = message