diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-15 09:34:18 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-15 09:34:18 +0000 |
commit | 8f3e4966fe4ed5cd5705f29d0af6acecf05be600 (patch) | |
tree | 382af2bcaf8e68399238831c176847f172216ea1 | |
parent | c4593a0869e33d170d64a70938e09a8415ec9194 (diff) | |
download | perl-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.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |