Fixed small error handling bug in Playlet backend
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user