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

@@ -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()