public void process(Object input) { try { fn.process(input, emitter); } catch (CrunchRuntimeException e) { if (!e.wasLogged()) { LOG.info(String.format("Crunch exception in '%s' for input: %s", nodeName, input.toString()), e); e.markLogged(); } throw e; } }
public void process(Object input) { try { fn.process(input, emitter); } catch (CrunchRuntimeException e) { if (!e.wasLogged()) { LOG.info("Crunch exception in '{}' for input: {}", new Object[]{nodeName, input, e}); e.markLogged(); } throw e; } }