Skip to content

Commit f4eee73

Browse files
author
Christian Lüthold
committed
better log statement [ci skip]
Signed-off-by: Christian Lüthold <biocodr@gmail.com>
1 parent 563dd69 commit f4eee73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/hive2hive/processframework/ProcessComponent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public final T execute() throws InvalidProcessStateException, ProcessExecutionEx
7575
notifyListeners(ProcessState.EXECUTION_FAILED);
7676

7777
// log exception, wrap it to PEE, throw
78-
String msg = "An unexpected exception has been catched during execution.";
78+
String msg = "An exception has been catched during execution. See cause for more information.";
7979
logger.error(msg, ex);
8080
if (ex instanceof ProcessExecutionException) {
8181
throw ex;
@@ -125,7 +125,7 @@ public final T rollback() throws InvalidProcessStateException, ProcessRollbackEx
125125
notifyListeners(ProcessState.ROLLBACK_FAILED);
126126

127127
// log exception, wrap it to PRE, throw
128-
String msg = "An unexpected exception has been catched during rollback.";
128+
String msg = "An exception has been catched during rollback. See cause for more information.";
129129
logger.error(msg, ex);
130130
if (ex instanceof ProcessRollbackException) {
131131
throw ex;

0 commit comments

Comments
 (0)