Fixed small error handling bug in Playlet backend

This commit is contained in:
Brahim Hadriche committed 2025-05-01 22:18:23 -04:00
1 parent 62675446b2
commit d919489f50
2 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Nothing worth mentioning yet.
### Fixed
- Small error handling bug in Playlet backend
## [0.36.4] - 2025-04-19
@@ -229,7 +229,9 @@ namespace InnertubeService
response = request.Await()
if not response.IsSuccess()
return invalid
return {
error: response.ErrorMessage()
}
end if
if raw
@@ -291,7 +293,9 @@ namespace InnertubeService
response = request.Await()
if not response.IsSuccess()
return invalid
return {
error: response.ErrorMessage()
}
end if
json = response.Json()