Closed pkoenig10 closed 9 months ago
Are we okay losing that? If not, we should probably capture the stacktrace in another way?
See my comment above about adding a suppressed exception:
https://github.com/palantir/atlasdb/pull/6931#discussion_r1465295795
I think it's fine losing the stacktrace in these places. The only place we might want it is the one in PaxosStateLogImpl
, but we emit an explicit log line there, which will capture the location.
Are we okay losing that? If not, we should probably capture the stacktrace in another way?
See my comment above about adding a suppressed exception:
I think it's fine losing the stacktrace in these places. The only place we might want it is the one in
PaxosStateLogImpl
, but we emit an explicit log line there, which will capture the location.
Gotcha, apologies, I misunderstood the comment.
Released 0.1023.0
Throwables.rewrap
uses reflection to try an reconstruct an exception of the same type with a different message.