aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;