From ab50a7d40f188c895d61008f5bd1e8d6173c8d9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 13 Jan 2014 13:24:03 +0100 Subject: [PATCH] $::lxdebug->backtrace_on_error auch im force mode anzeigen --- SL/LXDebug.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/LXDebug.pm b/SL/LXDebug.pm index d32f458ad..80b41f95a 100644 --- a/SL/LXDebug.pm +++ b/SL/LXDebug.pm @@ -129,10 +129,10 @@ sub show_backtrace { return 1 unless ($force || ($global_level & BACKTRACE_ON_ERROR)); - $self->message(BACKTRACE_ON_ERROR, "Starting full caller dump:"); + $self->message(0, "Starting full caller dump:"); my $level = 0; while (my ($dummy, $filename, $line, $subroutine) = caller $level) { - $self->message(BACKTRACE_ON_ERROR, " ${subroutine} from ${filename}:${line}"); + $self->message(0, " ${subroutine} from ${filename}:${line}"); $level++; } -- 2.20.1