Skip to content
Snippets Groups Projects
Commit 166f1fe4 authored by cramakri's avatar cramakri
Browse files

LMS-2196 Fix initialization of the rollback configuration and added dump of...

LMS-2196 Fix initialization of the rollback configuration and added dump of the execption when possible.

SVN: 21430
parent 8385d738
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ public abstract class AbstractOmniscientTopLevelDataSetRegistrator<T extends Dat
Properties onErrorDecisionProperties =
ExtendedProperties.getSubset(globalState.getThreadParameters()
.getThreadProperties(), ON_ERROR_DECISION_KEY, true);
.getThreadProperties(), ON_ERROR_DECISION_KEY + ".", true);
IDataSetOnErrorActionDecision onErrorDecision =
ClassUtils.create(
IDataSetOnErrorActionDecision.class,
......
......@@ -198,7 +198,7 @@ public class DataSetRegistrationService<T extends DataSetInformation> implements
registratorContext.getOnErrorActionDecision().computeUndoAction(errorType, ex);
DataSetStorageRollbacker rollbacker =
new DataSetStorageRollbacker(registratorContext, operationLog, action,
incomingDataSetFile, null, null, errorType);
incomingDataSetFile, null, ex, errorType);
operationLog.info(rollbacker.getErrorMessageForLog());
rollbacker.doRollback();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment