aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-15 09:34:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-15 09:34:18 +0000
commit8f3e4966fe4ed5cd5705f29d0af6acecf05be600 (patch)
tree382af2bcaf8e68399238831c176847f172216ea1
parentc4593a0869e33d170d64a70938e09a8415ec9194 (diff)
downloadperl-URPM-8f3e4966fe4ed5cd5705f29d0af6acecf05be600.tar
perl-URPM-8f3e4966fe4ed5cd5705f29d0af6acecf05be600.tar.gz
perl-URPM-8f3e4966fe4ed5cd5705f29d0af6acecf05be600.tar.bz2
perl-URPM-8f3e4966fe4ed5cd5705f29d0af6acecf05be600.tar.xz
perl-URPM-8f3e4966fe4ed5cd5705f29d0af6acecf05be600.zip
Improve some diagnostics
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 464aa4d..674ac8c 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3265,7 +3265,7 @@ Urpm_parse_synthesis(urpm, filename, ...)
XPUSHs(sv_2mortal(newSViv(start_id)));
XPUSHs(sv_2mortal(newSViv(av_len(depslist))));
}
- } else croak("unable to uncompress synthesis file");
+ } else croak("unable to uncompress synthesis file %s", filename);
} else croak("first argument should contains a depslist ARRAY reference");
} else croak("first argument should be a reference to HASH");
@@ -3359,7 +3359,7 @@ Urpm_parse_hdlist(urpm, filename, ...)
XPUSHs(sv_2mortal(newSViv(start_id)));
XPUSHs(sv_2mortal(newSViv(av_len(depslist))));
}
- } else croak("cannot open hdlist file");
+ } else croak("cannot open hdlist file %s", filename);
} else croak("first argument should contains a depslist ARRAY reference");
} else croak("first argument should be a reference to HASH");