mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Merge pull request #3083 from J3fftw1/feature/added-time_date-to-error-report
added time and date to error report
This commit is contained in:
commit
343f47bdb6
@ -168,6 +168,9 @@ public class ErrorReport<T extends Throwable> {
|
||||
try (PrintStream stream = new PrintStream(file, StandardCharsets.UTF_8.name())) {
|
||||
stream.println();
|
||||
|
||||
stream.println("Error Generated: " + dateFormat.format(LocalDateTime.now()));
|
||||
stream.println();
|
||||
|
||||
stream.println("Java Environment:");
|
||||
stream.println(" Operating System: " + System.getProperty("os.name"));
|
||||
stream.println(" Java Version: " + System.getProperty("java.version"));
|
||||
|
Loading…
Reference in New Issue
Block a user