-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for several string formats, they are based on static analysis. #6306
base: master
Are you sure you want to change the base?
Conversation
src/protocol/java/src/main/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java
Outdated
Show resolved
Hide resolved
} catch (Exception e) { | ||
log.error("{}\tException initialising: ", whoAmI(), name, e); | ||
log.error("%s\tException initialising: %s %s", whoAmI(), name, e.getMessage()); |
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.
log.error("%s\tException initialising: %s %s", whoAmI(), name, e.getMessage()); | |
log.error("{}\tException initialising: {} {}", whoAmI(), name, e.getMessage()); |
src/protocol/java/src/main/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java
Outdated
Show resolved
Hide resolved
...protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
Show resolved
Hide resolved
src/protocol/tcp/src/main/java/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java
Show resolved
Hide resolved
…a/sampler/JavaSampler.java Co-authored-by: Vladimir Sitnikov <[email protected]>
} catch (Exception e) { | ||
log.error("{}\tException initialising: ", whoAmI(), name, e); | ||
log.error("{}\tException initialising: {}", whoAmI(), name, e); |
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.
While the text in the message looks like it is missing a placeholder, I would refrain from adding it here. Adding a placeholder will loose the stacktrace, which could be helpful identifying the root cause.
Fixes for several string formats, they are based on static analysis.