private void callGracefully()

in java-app-backend/BackendFunction/src/main/java/com/webapp/function/CreateCollectionHandler.java [61:70]


    private void callGracefully(final Map<String, Object> input,
                                final Context context,
                                final Runnable collectionConsumer) {
        try {
            collectionConsumer.run();
        } catch (Exception e) {
            LOG.error("Failed executing reckognition client", e);
            sendResponse(input, context, "FAILED");
        }
    }