Writing only in debug when failing to set JMS property#1862
Writing only in debug when failing to set JMS property#1862eyalkoren wants to merge 1 commit intoelastic:masterfrom
Conversation
|
This PR is done in order to demote the |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
| } catch (Exception e) { | ||
| if (logger.isDebugEnabled()) { | ||
| logger.debug(String.format("Failed to set JMS message property %s. This may indicate a real problem that " + | ||
| "can prevent from distributed tracing from working, but it may also be a valid scenario.", headerName), e); |
There was a problem hiding this comment.
[suggestion] We did not added a test for this case when doing this previous try/catch block with MessageNotWriteableException. It might be worth adding it this time
as it's already the 2cnd time we revisit this code.
There was a problem hiding this comment.
Currently we have no indication it is still a problem. Apparently, the user that reported this warning message was using an older version, so the 1.23.0 change to debug may be sufficient.
So I will close this one now and we'll fix that if indeed required.
No description provided.