Skip to content

Commit 93e19ca

Browse files
committed
Update BulkCaseProcessor.java
1 parent 7825457 commit 93e19ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Java/src/main/java/com/nuix/superutilities/cases/BulkCaseProcessor.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ public void withEachCase(Case currentCaseFromGui, CaseConsumer caseWorkFunction)
169169
}
170170
} catch (Exception e) {
171171
// User code threw exception but didnt catch it
172-
logger.error("Error in user provided case work function:");
173-
logger.error(e);
172+
logger.error("Error in user provided case work function:",e);
174173
if(userFunctionErrorCallback != null){
175174
WorkFunctionErrorEvent userFunctionErrorInfo = new WorkFunctionErrorEvent(caseInfo, e);
176175
userFunctionErrorCallback.accept(userFunctionErrorInfo);
@@ -192,8 +191,7 @@ public void withEachCase(Case currentCaseFromGui, CaseConsumer caseWorkFunction)
192191
}
193192

194193
} catch (Exception e) {
195-
logger.error("Error opening case: ");
196-
logger.error(e);
194+
logger.error("Error opening case: ",e);
197195
// On case open error notify callback if was provided
198196
if(caseErrorCallback != null){
199197
CaseOpenErrorEvent caseErrorInfo = new CaseOpenErrorEvent(caseInfo, e);

0 commit comments

Comments
 (0)