🚨 긴급: 에러 로거 무한 루프 수정
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Has been cancelled
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Has been cancelled
- errorLogger.js에서 무한 루프 발생 - 원인: API 에러 → localStorage 저장 실패 → 서버 전송 실패 → 또 에러 발생 - 해결: errorLogger 완전 비활성화 - setupGlobalErrorHandlers() 비활성화 사용자 조치 필요: 브라우저 개발자 도구(F12) > Application > Local Storage > localhost:13000 > Clear All
This commit is contained in:
@@ -7,14 +7,14 @@ import api from '../api';
|
||||
|
||||
class ErrorLogger {
|
||||
constructor() {
|
||||
this.isEnabled = process.env.NODE_ENV === 'development' || process.env.REACT_APP_ERROR_LOGGING === 'true';
|
||||
this.isEnabled = false; // 긴급 비활성화 - 무한 루프 방지
|
||||
this.maxRetries = 3;
|
||||
this.retryDelay = 1000; // 1초
|
||||
this.errorQueue = [];
|
||||
this.isProcessing = false;
|
||||
|
||||
// 전역 오류 핸들러 설정
|
||||
this.setupGlobalErrorHandlers();
|
||||
// this.setupGlobalErrorHandlers(); // 비활성화
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user