From 04c6ff92abcab16e838b2632e249b384d4bdc1fd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 28 Nov 2003 15:23:39 +0000 Subject: (main) do not silently discard exceptions; if some exception is raised for anything else than "wizcancel", we should rethrow it again instead of silently ignoring bugso... --- perl-install/network/netconnect.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index e053481cb..2e8f1eec3 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -150,7 +150,9 @@ If you don't want to use the auto detection, deselect the checkbox. } } }; - $in->exit(0) if $@ =~ /wizcancel/; + if (my $err = $@) { + $err =~ /wizcancel/ ? $in->exit(0) : die $err; + } step_2_1: my $nb = keys %{$netc->{internet_cnx}}; -- cgit v1.2.1