-
Notifications
You must be signed in to change notification settings - Fork 19
Log occurred exception even if it doesn't have cause #218
Log occurred exception even if it doesn't have cause #218
Conversation
I don't think this will have the intended effect because it will just delegate to You need to either call |
Signed-off-by: Julia Nemtseva <[email protected]>
b37cd15
to
8c73f24
Compare
Signed-off-by: Julia Nemtseva <[email protected]>
I have the following issue: my application connects to nakadi and reads events successfully several times: but after a while the stream is disconnected by the server due to timeout (as above), but it cannot reconnect again: And this lasts until I restart the application. As you can see there is no indication to what's the reason of the reconnection failure. That's why I want to add this logging. Nakadi supporters told me that server responds with 401 for my app attempts to reconnect. I was using 0.9.2 kanadi lib. @mdedetrich @itachi3 @pascalh @gchudnov do you have any ideas why this might happen? I plan to update to the latest version and hope to get this PR merged and released in version 0.11.1 to see what's really the root cause. Could you please tell me when you can release a new version with this PR's changes? |
So I can approve the PR but I can't really release it (I don't actually work at Zalando anymore and the release is done manually on someones machine) |
@JuliaIskra |
let me check, will merge and release it soon |
@mdedetrich |
No objections from me, ill approve it just to make it official |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thank you, |
I'll release it in 0.11.1 version, given that @JuliaIskra is using akka, and later in pekko as well (0.20.1). |
* Use warn logging level and expose the exception itself, not the cause Signed-off-by: Julia Nemtseva <[email protected]> (cherry picked from commit d77479b)
released 0.11.1 to sonatype for scala 2.12 and 2.13 https://github.com/zalando-nakadi/kanadi/releases |
thank you so much! |
I have a problem in my application where it cannot reconnect to Nakadi and I can't figure out why, because exception is not logged, apparently, because the occurring exception doesn't have a cause:
Reconnecting failed, retry again in 10 seconds, SubscriptionId: <uuid>'