More explicit RuntimeException message

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
This commit is contained in:
Camotoy 2024-09-26 01:07:57 -04:00 committed by GitHub
parent 8b43498faa
commit 0a625627c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
}
};