io.fluxcapacitor.javaclient.tracking.LoggingErrorHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Default Java client library for interfacing with Flux Capacitor.
package io.fluxcapacitor.javaclient.tracking;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public enum LoggingErrorHandler implements ErrorHandler {
INSTANCE;
@Override
public void handleError(Exception error, String errorMessage, Runnable retryFunction) {
log.error("{}. Continuing...", errorMessage, error);
}
}