Compare commits
1 Commits
dev/dev-xp
...
dba7f09cd9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dba7f09cd9 |
@@ -402,7 +402,7 @@ public class TryOnEffectServiceImpl extends ServiceImpl<TryOnEffectMapper, TryOn
|
|||||||
return processGoogleAPIResponse(response);
|
return processGoogleAPIResponse(response);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("调用Google API失败: {}", e.getMessage(), e);
|
log.error("调用Google API失败: {}", e.getMessage(), e);
|
||||||
throw new BusinessException("Google API call failed", "Google API调用失败", ResultEnum.ERROR.getCode());
|
throw new BusinessException("Generation timed out. Please try again later.", "生成超时,请稍后再试", ResultEnum.ERROR.getCode());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user