Update logger to 0.0.7 everywhere

This commit is contained in:
Oliver
2025-08-30 15:05:36 +02:00
parent d176f09aa0
commit 001c903cbf
27 changed files with 49 additions and 60 deletions

View File

@@ -20,7 +20,7 @@ repositories {
dependencies {
compileOnly("dev.folia:folia-api:1.20.4-R0.1-SNAPSHOT")
compileOnly("de.oliver.FancyAnalytics:logger:0.0.6")
compileOnly("de.oliver.FancyAnalytics:logger:0.0.7")
// database drivers
compileOnly("org.xerial:sqlite-jdbc:3.49.1.0")

View File

@@ -6,6 +6,7 @@ import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import de.oliver.fancyanalytics.logger.ExtendedFancyLogger;
import de.oliver.fancyanalytics.logger.properties.ThrowableProperty;
import java.io.BufferedReader;
import java.io.IOException;
@@ -96,8 +97,7 @@ public class UUIDFetcher {
return data.id;
} catch (Exception e) {
LOGGER.error("Could not fetch UUID for name: " + name);
LOGGER.error(e);
LOGGER.error("Could not fetch UUID for name: " + name, ThrowableProperty.of(e));
return null;
}
}
@@ -132,8 +132,7 @@ public class UUIDFetcher {
return currentNameData.name;
} catch (Exception e) {
LOGGER.error("Could not fetch name for uuid: " + uuid);
LOGGER.error(e);
LOGGER.error("Could not fetch name for uuid: " + uuid, ThrowableProperty.of(e));
return null;
}
}