Only show stacktrace error in debug mode

This commit is contained in:
filoghost 2019-05-30 12:01:16 +02:00
parent fc091d9471
commit 87fc7bde5a

View File

@ -64,7 +64,7 @@ public class ReflectionUtils {
}
}
} catch (Throwable t) {
ConsoleLogger.log(Level.WARNING, "Unable to get a stack trace element, please inform the developer. You will only see this error once and a fallback method will be used.", t);
ConsoleLogger.logDebug(Level.WARNING, "Unable to get a stack trace element. This error will only show once and a fallback method will be used.", t);
stackTraceError = true;
}
}