mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-21 14:38:55 +01:00
More explicit RuntimeException message
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
This commit is contained in:
parent
8b43498faa
commit
0a625627c9
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class AsteriskSerializer implements JsonSerializer<String> {
|
||||||
try {
|
try {
|
||||||
destination.set("***");
|
destination.set("***");
|
||||||
} catch (SerializationException e) {
|
} 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.
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue