From cf502e8f3908835c936e78eda0cbe437a9bbb585 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 19 Feb 2003 23:39:11 +0000 Subject: add some more formatError --- perl-install/install_steps.pm | 2 +- perl-install/install_steps_interactive.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index bcd8e0889..dce92be37 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -74,7 +74,7 @@ sub leavingStep { eval { &$f() }; $o->ask_warn(N("Error"), [ N("An error occurred, but I don't know how to handle it nicely. -Continue at your own risk."), $@ ]) if $@; +Continue at your own risk."), formatError($@) ]) if $@; } } diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 30860db13..e062c6c7c 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -843,7 +843,7 @@ sub summaryBefore { $o->{intf}{eth0} and $o->{netcnx}{type} ||= 'lan'; $o->{intf}{ppp0} and $o->{netcnx}{type} ||= 'modem'; }; - log::l("summaryBefore: network configuration: $@"); + log::l("summaryBefore: network configuration: ", formatError($@)); } sub summary_prompt { -- cgit v1.2.1