Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
860227ee
Commit
860227ee
authored
Jan 11, 2022
by
lcx
Committed by
纪旭 韦
Jan 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提取抛出异常
parent
1b8a452a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
performance/Performance.Services/ExtractExcelService/QueryService.cs
+6
-3
No files found.
performance/Performance.Services/ExtractExcelService/QueryService.cs
View file @
860227ee
...
...
@@ -231,7 +231,8 @@ private List<ex_result> ExtractModuleData(per_allot allot, string groupName, boo
}
catch
(
Exception
ex
)
{
logger
.
LogError
(
$"typeId:
{
typeId
}
提取数据异常
{
ex
}
,
{
Infrastructure
.
JsonHelper
.
Serialize
(
script
)}
"
);
logger
.
LogError
(
$"typeId:
{
typeId
}
提取数据异常
{
ex
}
,
{
JsonHelper
.
Serialize
(
script
)}
"
);
throw
;
}
}
}
...
...
@@ -301,7 +302,8 @@ private List<ex_result> ExtractItemData(per_allot allot, string groupName, bool
}
catch
(
Exception
ex
)
{
logger
.
LogError
(
$"typeId:
{
typeId
}
提取数据异常
{
ex
}
,
{
Infrastructure
.
JsonHelper
.
Serialize
(
script
)}
"
);
logger
.
LogError
(
$"typeId:
{
typeId
}
提取数据异常
{
ex
}
,
{
JsonHelper
.
Serialize
(
script
)}
"
);
throw
;
}
}
logService
.
ReturnTheLog
(
allot
.
ID
,
groupName
,
2
,
"提取数据"
,
$"项目“
{
string
.
Join
(
"、"
,
thisItems
.
Select
(
t
=>
t
.
ItemName
))}
”的数据已完成提取"
,
1
,
isSingle
);
...
...
@@ -369,7 +371,8 @@ private List<ex_result> ExtractSpecialData(per_allot allot, string groupName, bo
}
catch
(
Exception
ex
)
{
logger
.
LogError
(
$"typeId:
{
typeId
}
提取数据异常
{
ex
}
,
{
Infrastructure
.
JsonHelper
.
Serialize
(
script
)}
"
);
logger
.
LogError
(
$"typeId:
{
typeId
}
提取数据异常
{
ex
}
,
{
JsonHelper
.
Serialize
(
script
)}
"
);
throw
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment