Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-datacenter
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-datacenter
Commits
85b8db59
Commit
85b8db59
authored
Jan 22, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
198013fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CustomerReader.java
...c/main/java/com/bailuntec/task/reader/CustomerReader.java
+1
-2
No files found.
datacenter-task/ebay-report-consumer/src/main/java/com/bailuntec/task/reader/CustomerReader.java
View file @
85b8db59
...
...
@@ -25,7 +25,6 @@ import org.springframework.stereotype.Component;
import
javax.annotation.PostConstruct
;
import
javax.annotation.Resource
;
import
java.text.MessageFormat
;
import
java.time.ZoneId
;
import
java.util.Calendar
;
import
java.util.Date
;
...
...
@@ -177,7 +176,7 @@ public class CustomerReader implements ItemReader<EbayItem> {
}
ebayAccountReportTask
.
setStatus
(
1
);
}
catch
(
Exception
ex
)
{
String
errMsg
=
MessageFormat
.
format
(
"请求ebay广告服务异常,当前账号:{},当前页码:{}
"
,
dcBaseCompanyAccount
.
getAccountName
(),
pageNum
);
String
errMsg
=
String
.
format
(
"请求ebay广告服务异常,当前账号:%s,当前页码:%s
"
,
dcBaseCompanyAccount
.
getAccountName
(),
pageNum
);
log
.
error
(
errMsg
);
//todo log ebay exception
ebayAccountReportTask
.
setStatus
(
2
);
...
...
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