summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-11 19:09:03 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-11 19:09:03 +0000
commita0d1b345c4e84f18cf8f0914b89014d2583d85e1 (patch)
tree4b514a58bb1865bff07fedfc2426c98b5797593b /perl-install
parentef5237da9764dba610fabf79b7bbee5ff974a9d5 (diff)
downloaddrakx-backup-do-not-use-a0d1b345c4e84f18cf8f0914b89014d2583d85e1.tar
drakx-backup-do-not-use-a0d1b345c4e84f18cf8f0914b89014d2583d85e1.tar.gz
drakx-backup-do-not-use-a0d1b345c4e84f18cf8f0914b89014d2583d85e1.tar.bz2
drakx-backup-do-not-use-a0d1b345c4e84f18cf8f0914b89014d2583d85e1.tar.xz
drakx-backup-do-not-use-a0d1b345c4e84f18cf8f0914b89014d2583d85e1.zip
(empty_packages) log where fatal errors happen
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index dc7ecf14a..fa99cb730 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -373,7 +373,7 @@ sub empty_packages {
$packages->{log} = \&log::l;
$packages->{info} = \&log::l;
$packages->{fatal} = sub {
- log::l("urpmi error: $_[1] ($_[0])");
+ log::l("urpmi error: $_[1] ($_[0])\n" . common::backtrace());
$::o->ask_warn(undef, N("A fatal error occurred: %s.", "$_[1] ($_[0])"));
};
$packages->{error} = sub {