Skip to content
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

fix: remove job using namespace #139

Merged
merged 5 commits into from
May 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Improve request logging on failure
  • Loading branch information
jfroche committed May 6, 2022
commit 3bc4aa99c9815477d71bf3d9cc702bbab15848e4
2 changes: 1 addition & 1 deletion src/main/java/org/jenkinsci/plugins/nomad/NomadApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private String checkResponseAndGetBody (Request request) {
) {
bodyString = responseBody.string();
if (!response.isSuccessful()) {
LOGGER.log(Level.SEVERE, "Request was not successful! Code: "+response.code()+", Body: '"+bodyString+"'");
LOGGER.log(Level.SEVERE, "Request was not successful! Code: "+response.code()+", Body: '"+bodyString+"'"+"URL: "+request.url());
}
} catch (IOException e) {
LOGGER.log(Level.SEVERE, e.getMessage() + "\nRequest:\n" + request);
Expand Down