From 0d7e81ce54e3a2ea420b2072b4e8c8e2a5e0c3b2 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sat, 24 Dec 2011 13:35:19 -0500 Subject: [PATCH] Use internal exception to get backtraces. --- kdesrc-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdesrc-build b/kdesrc-build index c2e839f..3790422 100755 --- a/kdesrc-build +++ b/kdesrc-build @@ -1859,7 +1859,7 @@ HOME # ignore file and propagate that information to our context object. my $path = $self->module()->fullpath('source') . "/build-script-ignore"; - open my $fh, '<', $path or die "Unable to read ignore data: $!"; + open my $fh, '<', $path or die make_exception('Internal', "Unable to read ignore data: $!"); my $ctx = $self->module()->buildContext(); my @ignoreModules = map { chomp $_; $_ } (<$fh>);