From d7a404163ee60002025bdb6c6635e7f9f49c1dde Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 2 Aug 2007 06:17:52 +0000 Subject: (bug_handler) display full backtrace --- perl-install/NEWS | 1 + perl-install/standalone.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/perl-install/NEWS b/perl-install/NEWS index c8fffb6a3..2a888756c 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - drakbug: o do not fire on exceptions in eval { } + o put full backtrace on bugzilla, not only last call point Version 10.4.152 - 01 August 2007, by Thierry Vignaud diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 4de0474fb..32255665e 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -187,6 +187,7 @@ our @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::mo sub bug_handler { my ($error) = @_; return if $error && $^S; + $error .= common::backtrace() if $error; my $progname = $0; $progname =~ s|.*/||; exec('drakbug', if_($error, '--error', $error), '--incident', $progname,); -- cgit v1.2.1