Merge "log the configured storyboard url on failure"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardItsFacade.java b/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardItsFacade.java
index 7d63f79..2313c03 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardItsFacade.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardItsFacade.java
@@ -55,14 +55,14 @@
public void addComment(final String issueId, final String comment) {
if (!exists(issueId)) {
- log.warn("Story " + issueId + " does not exist, nothing to update");
+ log.warn("Storyboard item " + issueId + " does not exist");
return;
}
try {
client.addComment(issueId, comment);
} catch (IOException e) {
- log.error("Error: could not add comment to issue " + issueId);
+ log.error("Error: unable to comment " + issueId);
}
log.info("Updated " + issueId + "with comment: " + comment);
}
@@ -101,7 +101,7 @@
try {
info = client.getStory(issudeId);
} catch (IOException e) {
- log.error("Error: Storyboard is not accessible");
+ log.error("Error: Storyboard is not accessible at: " + GERRIT_CONFIG_URL);
}
if (info != null) {
log.debug("Story exists, info: " + info);