package com.tofly.xrtymis.config;

import org.springframework.core.annotation.Order;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @author HaiQiu
 * @since 2023/2/27
 */
@ControllerAdvice
@Order(-1000)
public class MisHandleException {


    @ExceptionHandler
    public void ex(Exception e){
        e.printStackTrace();
    }
}
