Commit 6d7000b
authored
chore: Log interrupted exception, address comment todo. (#131)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Behavioral changes are limited to logging and minor exception-handling
semantics in polling code; low risk aside from potentially changing how
shutdown-related interrupts propagate.
>
> **Overview**
> Improves polling robustness/observability by making
`PollingBase.logger` `protected` for subclasses and clarifying that
failures while translating a changeset are treated as *invalid data*.
>
> Updates `PollingSynchronizerImpl` to handle `InterruptedException` and
`ExecutionException` separately, emitting debug logs and restoring the
thread interrupt flag when interrupted.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
5d0ff6e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 77c0a74 commit 6d7000b
2 files changed
Lines changed: 11 additions & 4 deletions
File tree
- lib/sdk/server/src/main/java/com/launchdarkly/sdk/server
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
0 commit comments