aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-09-03 11:35:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-09-03 11:35:18 +0200
commitb942200710a8d17be56324fff4f209c583a2fc87 (patch)
tree4256221b88de9e2a8a4bb9d4086d23fb0c541365
parente28bcf274ed3865b4991c24a8d6903a4ce6d18da (diff)
Tweak bdep-publish and bdep-ci diagnostics
-rw-r--r--bdep/ci.cxx5
-rw-r--r--bdep/publish.cxx5
2 files changed, 6 insertions, 4 deletions
diff --git a/bdep/ci.cxx b/bdep/ci.cxx
index 42758e1..1bb95c6 100644
--- a/bdep/ci.cxx
+++ b/bdep/ci.cxx
@@ -327,10 +327,11 @@ namespace bdep
http_service::result r (post (o, u, params));
if (!r.reference)
- fail << "no reference specified";
+ fail << "no reference in response";
if (verb)
- text << r.message << " (" << *r.reference << ")";
+ text << r.message << '\n'
+ << "reference: " << *r.reference;
}
return 0;
diff --git a/bdep/publish.cxx b/bdep/publish.cxx
index de05534..32687d5 100644
--- a/bdep/publish.cxx
+++ b/bdep/publish.cxx
@@ -723,10 +723,11 @@ namespace bdep
http_service::result r (post (o, u, params));
if (!r.reference)
- fail << "no reference specified";
+ fail << "no reference in response";
if (verb)
- text << r.message << " (" << *r.reference << ")";
+ text << r.message << '\n'
+ << "reference: " << *r.reference;
}
return 0;