You've already forked DataMate
```
chore(annotation): 添加调试日志到映射服务 - 在 _to_response_from_row 方法中添加配置和标签配置的调试日志 - 在 _to_response 方法中添加映射ID和配置信息的调试日志 - 添加响应数据键名的调试日志 - 优化配置解析逻辑以确保字典类型的正确检查 ```
This commit is contained in:
@@ -225,8 +225,9 @@ async def get_mapping(
|
||||
except HTTPException:
|
||||
raise
|
||||
except Exception as e:
|
||||
logger.error(f"Error getting mapping: {e}")
|
||||
raise HTTPException(status_code=500, detail="Internal server error")
|
||||
import traceback
|
||||
logger.error(f"Error getting mapping: {e}\n{traceback.format_exc()}")
|
||||
raise HTTPException(status_code=500, detail=f"Internal server error: {str(e)}")
|
||||
|
||||
@router.get("/by-source/{dataset_id}", response_model=StandardResponse[PaginatedData[DatasetMappingResponse]])
|
||||
async def get_mappings_by_source(
|
||||
|
||||
Reference in New Issue
Block a user