This repository was archived by the owner on Mar 21, 2023. It is now read-only.
Commit 2025d36
committed
IpAddressConversion caught wrong exception (#32)
The first try block caught a too specific version of the IllegalArgumentException, allowing the exception to unwind too much. Properly return null or the default value in this case.
Fixes #28
(cherry picked from commit fc5b8a5)1 parent 5cd12d6 commit 2025d36
File tree
3 files changed
+16
-1
lines changed- src
- main/java/org/graylog/plugins/pipelineprocessor/functions/ips
- test
- java/org/graylog/plugins/pipelineprocessor/functions
- resources/org/graylog/plugins/pipelineprocessor/functions
3 files changed
+16
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
446 | 455 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments