Skip to content
Snippets Groups Projects
Commit 5d230a63 authored by felmer's avatar felmer
Browse files

SE-300 maintenance task: catch rollback exception

SVN: 17690
parent ee9badae
No related branches found
No related tags found
No related merge requests found
......@@ -109,9 +109,16 @@ public class PostRegistrationDatabaseUploadTask implements IMaintenanceTask
}
} catch (Exception ex)
{
dataSetHandler.rollback();
operationLog.error("Uploading of data set " + dataSet.getDataSetCode()
+ " failed: ", ex);
try
{
dataSetHandler.rollback();
operationLog.error("Uploading of data set " + dataSet.getDataSetCode()
+ " failed: ", ex);
} catch (Exception ex1)
{
operationLog.error("Rollback of uploading data set "
+ dataSet.getDataSetCode() + " failed: ", ex1);
}
}
}
}
......
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