summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-05 00:00:04 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-05 00:00:04 +0100
commit4a1b8fa04cf960003af5b2bc3c54687a0e9d6945 (patch)
treecc7b417f61ce625ca04ad58b100af04154f16ae9 /infra
parent395e3a0f5c1d2541a84ac6105f02c7eac34f434b (diff)
Error messages: Add some newlines to make the real error clearer in a lot of noise
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/dgit-repos-policy-debian4
-rwxr-xr-xinfra/dgit-repos-server2
2 files changed, 3 insertions, 3 deletions
diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian
index 0774f17..a0ac519 100755
--- a/infra/dgit-repos-policy-debian
+++ b/infra/dgit-repos-policy-debian
@@ -281,10 +281,10 @@ sub action_push () {
if (deliberately('include-questionable-history')) {
return 0;
}
- die "Package is in NEW and has not been accepted or rejected yet;".
+ die "\nPackage is in NEW and has not been accepted or rejected yet;".
" use a --deliberately option to specify whether you are".
" keeping or discarding the previously pushed history. ".
- " Please RTFM dgit(1).\n";
+ " Please RTFM dgit(1).\n\n";
}
sub action_push_confirm () {
diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server
index 2d61db9..1be6e78 100755
--- a/infra/dgit-repos-server
+++ b/infra/dgit-repos-server
@@ -263,7 +263,7 @@ sub recorderror ($) {
sub reject ($) {
my ($why) = @_;
recorderror "reject: $why";
- die "dgit-repos-server: reject: $why\n";
+ die "\ndgit-repos-server: reject: $why\n\n";
}
sub runcmd {