Skip to content
Snippets Groups Projects
Commit df08de07 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

More sensible error handling

parent ca253ade
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ public class ModelResourceImpl implements ModelResource{
List<Result> results = calledModel.getResult();
return Response.ok().entity(results).build();
}
catch(InstantiationException | IllegalAccessException | ConfigValidationException | ModelExcecutionException | DuplicateModelIdException ex)
catch(Exception ex)
{
Logger.getLogger(ModelResourceImpl.class.getName()).log(Level.SEVERE, null, ex);
if(ex instanceof ConfigValidationException){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment