mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-19 22:31:21 +01:00
Only show stacktrace error in debug mode
This commit is contained in:
parent
fc091d9471
commit
87fc7bde5a
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user