summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-19 23:39:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-19 23:39:11 +0000
commitcf502e8f3908835c936e78eda0cbe437a9bbb585 (patch)
tree3aaacca4feb3f1d9aa4185dd12cc11e407c1bf58
parent4c31d7206ffc04639825ef80548eef82bd8610ff (diff)
downloaddrakx-backup-do-not-use-cf502e8f3908835c936e78eda0cbe437a9bbb585.tar
drakx-backup-do-not-use-cf502e8f3908835c936e78eda0cbe437a9bbb585.tar.gz
drakx-backup-do-not-use-cf502e8f3908835c936e78eda0cbe437a9bbb585.tar.bz2
drakx-backup-do-not-use-cf502e8f3908835c936e78eda0cbe437a9bbb585.tar.xz
drakx-backup-do-not-use-cf502e8f3908835c936e78eda0cbe437a9bbb585.zip
add some more formatError
-rw-r--r--perl-install/install_steps.pm2
-rw-r--r--perl-install/install_steps_interactive.pm2
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 {