io.soffa.foundation.commons.ExecUtil Maven / Gradle / Ivy
package io.soffa.foundation.commons;
public final class ExecUtil {
private static final Logger LOG = Logger.get(ExecUtil.class);
private ExecUtil() {
}
public static void safe(Runnable runnable) {
try {
runnable.run();
} catch (Exception e) {
LOG.error("[safe-exec] failed to persist syslog", e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy