Commit 73593dc
Fixes NullPointerException when accessing a FeignException's content (#914)
Fixes NullPointerException when accessing a FeignException's content
Fixes #912
If the content of a FeignException is null, `contentUTF8()` now returns an empty string rather than throwing a NullPointerException.1 parent 78ca283 commit 73593dc
File tree
2 files changed
+27
-1
lines changed- core/src
- main/java/feign
- test/java/feign
2 files changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
529 | 548 | | |
530 | 549 | | |
531 | 550 | | |
| |||
882 | 901 | | |
883 | 902 | | |
884 | 903 | | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
885 | 907 | | |
886 | 908 | | |
887 | 909 | | |
| |||
0 commit comments