[skip ci] do not log STS_MISMATCH errors
This commit is contained in:
1 parent
688206ef91
commit
b4a4a688ca
2 files changed
+13
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user