3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-28 00:50:20 +01:00

More explicit RuntimeException message

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Dieser Commit ist enthalten in:
Camotoy 2024-09-26 01:07:57 -04:00 committet von GitHub
Ursprung 8b43498faa
Commit 0a625627c9
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -79,7 +79,7 @@ public class AsteriskSerializer implements JsonSerializer<String> {
try {
destination.set("***");
} catch (SerializationException e) {
throw new RuntimeException(e); // Error over silently printing an IP address.
throw new RuntimeException("Unable to censor IP address", e); // Error over silently printing an IP address.
}
};