mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
[CI skip] Updated changelog
This commit is contained in:
parent
7ae0128ff6
commit
c83c84e61e
@ -34,10 +34,12 @@
|
|||||||
#### Additions
|
#### Additions
|
||||||
|
|
||||||
#### Changes
|
#### Changes
|
||||||
|
* Massive performance improvements for Cargo networks
|
||||||
|
|
||||||
#### Fixes
|
#### Fixes
|
||||||
* Fixed #3218
|
* Fixed #3218
|
||||||
* Fixed #3241
|
* Fixed #3241
|
||||||
|
* Fixed #3248
|
||||||
|
|
||||||
## Release Candidate 28 (06 Sep 2021)
|
## Release Candidate 28 (06 Sep 2021)
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ package io.github.thebusybiscuit.slimefun4.core.services;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLClassLoader;
|
import java.net.URLClassLoader;
|
||||||
@ -44,7 +45,7 @@ public class MetricsService {
|
|||||||
* The Name of our repository - Version 2 of this repo (due to big breaking changes)
|
* The Name of our repository - Version 2 of this repo (due to big breaking changes)
|
||||||
*/
|
*/
|
||||||
private static final String REPO_NAME = "MetricsModule2";
|
private static final String REPO_NAME = "MetricsModule2";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the metrics jar file.
|
* The name of the metrics jar file.
|
||||||
*/
|
*/
|
||||||
@ -140,6 +141,8 @@ public class MetricsService {
|
|||||||
try {
|
try {
|
||||||
start.invoke(null);
|
start.invoke(null);
|
||||||
plugin.getLogger().info("Metrics build #" + version + " started.");
|
plugin.getLogger().info("Metrics build #" + version + " started.");
|
||||||
|
} catch (InvocationTargetException e) {
|
||||||
|
plugin.getLogger().log(Level.WARNING, "An exception was thrown while starting the metrics module", e.getCause());
|
||||||
} catch (Exception | LinkageError e) {
|
} catch (Exception | LinkageError e) {
|
||||||
plugin.getLogger().log(Level.WARNING, "Failed to start metrics.", e);
|
plugin.getLogger().log(Level.WARNING, "Failed to start metrics.", e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user