[20250724] WebOS TV 최적화 및 오류 처리 개선

1. App.js: applyTemplate 기능 제거로 5286 디버그 모드 무한 리로드 문제 해결
2. TLogEvent.js: XML 변환기 오류 무시 처리로 콘솔 오류 메시지 제거
3. CSS 최적화: will-change 속성 주석 처리로 메모리 사용량 개선
   - CustomImage.module.less: will-change: opacity 제거, GPU 가속 대안 추가
   - MediaControls.module.less: will-change: opacity 제거
   - MediaSlider.module.less: will-change: opacity 제거
   - FeedbackTooltip.module.less: will-change: transform 제거, GPU 가속 대안 추가

WebOS TV 환경에서의 성능 최적화 및 사용자 경험 개선
This commit is contained in:
djaco
2025-07-24 12:09:55 +09:00
parent b18e42a50e
commit 61ddd08e8c
6 changed files with 27 additions and 5 deletions

View File

@@ -88,6 +88,19 @@ export const TLogEvent = (
}
})
.catch((error) => {
const errorMessage = error && error.message ? error.message : '';
const requestUrl = error.config && error.config.url ? error.config.url : '';
// /lgsp/v1/log/recommend.lge 엔드포인트의 XML 오류만 무시
if ((errorMessage.includes('XML') ||
errorMessage.includes('요소 없음') ||
errorMessage.includes('element')) &&
requestUrl.includes('/lgsp/v1/log/recommend.lge')) {
console.log('[TLogEvent] XML parsing error ignored for recommend endpoint');
return; // recommend 엔드포인트의 XML 오류만 무시
}
// 다른 엔드포인트의 오류는 정상 처리
if (onFail) {
onFail(error);
}