catch fetch calling list error
This commit is contained in:
parent
3e1f16dea5
commit
4c3009126f
@ -61,9 +61,14 @@ public class CallingListPreparedServiceImpl
|
||||
log.info("Operator [{}] fetch campaign [{}] remote calling list, task key [{}].",
|
||||
operator, campaign, taskKey);
|
||||
|
||||
while ((fetchedSize = doFetchRemote(operator, taskKey, campaign)) > 0) {
|
||||
total += fetchedSize;
|
||||
log.info("Task [{}] calling list [{}] fetched.", taskKey, fetchedSize);
|
||||
try {
|
||||
while ((fetchedSize = doFetchRemote(operator, taskKey, campaign)) > 0) {
|
||||
total += fetchedSize;
|
||||
log.info("Task [{}] calling list [{}] fetched.", taskKey, fetchedSize);
|
||||
}
|
||||
}
|
||||
catch (final Exception e) {
|
||||
log.error("Fetch campaign calling list error caused.", e);
|
||||
}
|
||||
|
||||
log.info("Task [{}] calling list total [{}] fetched.", total);
|
||||
|
Loading…
x
Reference in New Issue
Block a user