VionActiveErrorHandler.java 462 Bytes
package com.viontech.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.util.ErrorHandler;

@Service
public class VionActiveErrorHandler implements ErrorHandler {
    private static final Logger log = LoggerFactory.getLogger(VionActiveErrorHandler.class);

    public void handleError(Throwable throwable) {
        log.error("Error in listener", throwable);
    }
}