From 06e2adf2aa6feb9766405d4c4d58228d38256126 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 30 Jul 2021 12:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B0=83=E6=95=B4=E3=80=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E9=85=8D=E7=BD=AE=E8=A7=A3=E6=9E=90=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E6=A0=BC=E5=BC=8F=20=E3=80=90=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E3=80=91=E4=B8=BA=20README.md=20=E8=A1=A5=E5=85=85gitee?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=93=BE=E6=8E=A5=E5=92=8C=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++-- src/Luban.Job.Cfg/Source/JobController.cs | 15 ++++++++++----- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4622c1b..850a08b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,12 @@ ![icon](docs/images/icon.png) -## [README - English](./README.en-us.md) +----- +## links +- [README - English](./README.en-us.md) +- [github link](https://github.com/focus-creative-games/luban) +- [gitee link](https://gitee.com/focus-creative-games/luban) +---- ## 介绍 @@ -35,7 +40,8 @@ Luban适合有以下需求的开发者: - [Excel 配置数据简介](docs/data_excel.md) - [文档目录](docs/catalog.md) - [[TODO] 完整手册](docs/manual.md) -- **[====>强烈推荐查看:示例项目 <====](https://github.com/focus-creative-games/luban_examples)** +- **====>强烈推荐查看:示例项目** ([github](https://github.com/focus-creative-games/luban_examples)) ([gitee](https://gitee.com/focus-creative-games/luban_examples)) **<====** + - 支持与联系 - QQ群: 692890842 (Luban开发交流群)。有使用方面的疑问请及时加QQ群询问,随时有人帮助解决。 - 邮箱: taojingjian#gmail.com diff --git a/src/Luban.Job.Cfg/Source/JobController.cs b/src/Luban.Job.Cfg/Source/JobController.cs index effb4de..1ab9378 100644 --- a/src/Luban.Job.Cfg/Source/JobController.cs +++ b/src/Luban.Job.Cfg/Source/JobController.cs @@ -428,11 +428,16 @@ namespace Luban.Job.Cfg catch (DataCreateException e) { res.ErrCode = Luban.Common.EErrorCode.DATA_PARSE_ERROR; - res.ErrMsg = $@"加载数据失败. -文件: {e.OriginDataLocation} -错误位置: {e.DataLocationInFile} -Err: {e.OriginErrorMsg} -变量: {e.VariableFullPathStr} + res.ErrMsg = $@" +======================================================================= + 解析失败! + + 文件: {e.OriginDataLocation} + 错误位置: {e.DataLocationInFile} + Err: {e.OriginErrorMsg} + 字段: {e.VariableFullPathStr} + +======================================================================= "; res.StackTrace = e.OriginStackTrace; }