File size: 497 Bytes
d46f4a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package net.minecraft;

import java.lang.Thread.UncaughtExceptionHandler;
import org.slf4j.Logger;

public class DefaultUncaughtExceptionHandler implements UncaughtExceptionHandler {
    private final Logger logger;

    public DefaultUncaughtExceptionHandler(Logger p_202576_) {
        this.logger = p_202576_;
    }

    @Override
    public void uncaughtException(Thread p_131079_, Throwable p_131080_) {
        this.logger.error("Caught previously unhandled exception :", p_131080_);
    }
}