Skip to content
Snippets Groups Projects
Commit 8c2c7ad1 authored by xmajdan's avatar xmajdan Committed by Karolína Dočkalová Burská
Browse files

Expose error message

parent 93fc5663
No related branches found
No related tags found
1 merge request!127Develop
......@@ -56,7 +56,7 @@ public class SankeySimulatorFacade {
try {
return processInstanceZip(zipFile);
} catch (IOException e) {
throw new BadRequestException("The file was not processed. Unsupported data format. Please provide a zip file of adaptive training instance", e);
throw new BadRequestException(e.getMessage(), e);
}
}
......@@ -122,7 +122,7 @@ public class SankeySimulatorFacade {
} catch (IOException e) {
zis.closeEntry();
zis.close();
throw new BadRequestException("The file was not processed. Unsupported data format. Please provide a zip file of adaptive training instance", e);
throw new BadRequestException(e.getMessage(), e);
}
String cacheKey = instanceSimulatorService.cacheTraineesPerformance(traineesIdentification, questionnaireActions, trainingEvents, sandboxUseractions, trainingDefinition, trainingInstanceInfo);
......
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