We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a0974 commit e4a5c39Copy full SHA for e4a5c39
src/main/java/org/logstash/filters/geoip/GeoIPFilter.java
@@ -53,9 +53,7 @@ public class GeoIPFilter implements Closeable {
53
// for more details https://github.com/logstash-plugins/logstash-filter-geoip/issues/226
54
static class GeoIp2InvalidCustomFieldException extends GeoIp2Exception {
55
public GeoIp2InvalidCustomFieldException(Throwable cause) {
56
- super(cause.getMessage().equals("Cannot invoke \"Object.getClass()\" because \"parameters[index]\" is null") ?
57
- "The database contains custom fields causing argument type mismatch." :
58
- cause.getMessage(), cause);
+ super("The database contains custom fields causing argument type mismatch.", cause);
59
}
60
61
0 commit comments