diff --git a/CHANGELOG.md b/CHANGELOG.md index 99975120..388d74d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 + +- Various fixes and improvements + ## [0.41.17] - 2025-09-19 ### Fixed diff --git a/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs b/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs index 71eaba4f..3e8274cb 100644 --- a/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs +++ b/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs @@ -434,11 +434,6 @@ namespace Innertube response = request.Await() if not response.IsSuccess() - if response.IsCancelled() - LogErrorNoTelemetry(response.ErrorMessage()) - else - LogError(response.ErrorMessage()) - end if errorCode = "" if response.StatusCode() = 400 json = response.Json() @@ -456,6 +451,13 @@ namespace Innertube if errorCode <> "" exception.errorCode = errorCode end if + + if response.IsCancelled() or errorCode = "STS_MISMATCH" + LogErrorNoTelemetry(response.ErrorMessage()) + else + LogError(response.ErrorMessage()) + end if + return exception end if