修改google调用失败提示词
This commit is contained in:
@@ -402,7 +402,7 @@ public class TryOnEffectServiceImpl extends ServiceImpl<TryOnEffectMapper, TryOn
|
||||
return processGoogleAPIResponse(response);
|
||||
} catch (Exception 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