Commit f456072
committed
Don't catch unrecoverable errors in the main loop
Throwable includes Error subtypes, which are not expected to be caught: out of memory errors or thread stop.
We don't have a reason to catch them, so don't.1 parent f98c8eb commit f456072
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- dogstatsd-http-forwarder/src/main/java/com/datadoghq/dogstatsd/http/forwarder
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments