diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-11 19:09:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-11 19:09:03 +0000 |
commit | 814fe268adb93f447ad52fd9a0875c3fefe6fa23 (patch) | |
tree | 4b514a58bb1865bff07fedfc2426c98b5797593b /perl-install/install | |
parent | 48cd3dc8513b68c2b95d051b0112e302c878fe00 (diff) | |
download | drakx-814fe268adb93f447ad52fd9a0875c3fefe6fa23.tar drakx-814fe268adb93f447ad52fd9a0875c3fefe6fa23.tar.gz drakx-814fe268adb93f447ad52fd9a0875c3fefe6fa23.tar.bz2 drakx-814fe268adb93f447ad52fd9a0875c3fefe6fa23.tar.xz drakx-814fe268adb93f447ad52fd9a0875c3fefe6fa23.zip |
(empty_packages) log where fatal errors happen
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
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 { |