Skip to content

Commit 7561722

Browse files
committed
additional request logging for form submitting
1 parent 061d849 commit 7561722

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/jenkinsci/plugins/github/config/GitHubPluginConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ public boolean configure(StaplerRequest req, JSONObject json) throws FormExcepti
157157
try {
158158
req.bindJSON(this, json);
159159
} catch (Exception e) {
160+
LOGGER.debug("Problem while submitting form for GitHub Plugin ({})", e.getMessage(), e);
161+
LOGGER.trace("GH form data: {}", json.toString());
160162
throw new FormException(
161163
format("Mailformed GitHub Plugin configuration (%s)", e.getMessage()), e, "github-configuration");
162164
}

0 commit comments

Comments
 (0)