라벨이 없을 경우 오류 해결
This commit is contained in:
@@ -406,9 +406,12 @@ export class DataFlowAPI {
|
||||
tableLabel = response.data.data.tableLabel || tableName;
|
||||
tableDescription = response.data.data.description || `${tableName} 테이블`;
|
||||
}
|
||||
} catch {
|
||||
// 라벨 정보가 없으면 기본값 사용
|
||||
console.log(`테이블 라벨 정보 없음: ${tableName}`);
|
||||
} catch (error) {
|
||||
// 라벨 정보가 없으면 기본값 사용 (404 등의 에러는 무시)
|
||||
const axiosError = error as { response?: { status?: number } };
|
||||
if (axiosError?.response?.status !== 404) {
|
||||
console.warn(`테이블 라벨 조회 중 예상치 못한 오류: ${tableName}`, error);
|
||||
}
|
||||
}
|
||||
|
||||
// TableNode가 기대하는 컬럼 구조로 변환
|
||||
|
||||
Reference in New Issue
Block a user