mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-03 17:52:15 +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 {
|
||||
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.
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue