bug fix
This commit is contained in:
1 parent
caf7b1ab60
commit
c65a1dac74
2 files changed
+26
-7
No files matched your search
+6
-1
@@ -169,4 +169,9 @@ class SunoService:
|
||||
timeout=30.0,
|
||||
)
|
||||
response.raise_for_status()
|
||||
return response.json()
|
||||
data = response.json()
|
||||
|
||||
if data is None:
|
||||
raise ValueError("Suno API returned empty response for task status")
|
||||
|
||||
return data
|
||||
Reference in new issue
Block a user