summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 6ad982603..0546a12e8 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -543,7 +543,10 @@ sub installPackages {
$change_time = time();
my $f = $install::any::advertising_images[$i++ % @install::any::advertising_images];
log::l("advertising $f");
- gtkval_modify(\$advertising_image, $f);
+ eval { gtkval_modify(\$advertising_image, $f) };
+ if (my $err = $@) {
+ log::l("cannot load advertising image:\n" . formatError($err));
+ }
if (my $banner = $w->{window}{banner}) {
my ($title);