return badRequest();
}
extractor.loadConfigFromForm(extractorType, form);
extractor.loadConvertersFromForm(form);
extractor.create(node, node.getInput(inputId));
} catch (IOException e) {
return status(500, views.html.errors.error.render(ApiClient.ERROR_MSG_IO, e, request()));
} catch (APIException e) {
String message = "Could not create extractor! We expected HTTP 200, but got a HTTP " + e.getHttpCode() + ".";
return status(500, views.html.errors.error.render(message, e, request()));