bugfix for suno error msg
This commit is contained in:
1 parent
c207b8a48f
commit
f6ce81e14e
9 files changed
+11035
-1
No files matched your search
+2
-1
@@ -163,7 +163,8 @@ class SunoService:
|
||||
|
||||
if data.get("code") != 200:
|
||||
error_msg = data.get("msg", "Unknown error")
|
||||
raise SunoResponseError(f"Suno API error: {error_msg}", original_response=data)
|
||||
logger.error(f"[Suno] API error: {error_msg} | response: {data}")
|
||||
raise SunoResponseError("api 에러입니다.", original_response=data)
|
||||
|
||||
response_data = data.get("data")
|
||||
if response_data is None:
|
||||
|
||||
Reference in new issue
Block a user