From: Sven Schöling Date: Mon, 13 Jan 2014 12:24:03 +0000 (+0100) Subject: $::lxdebug->backtrace_on_error auch im force mode anzeigen X-Git-Tag: release-3.1.0beta1~22^2~8^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ab50a7d40f188c895d61008f5bd1e8d6173c8d9b;p=kivitendo-erp.git $::lxdebug->backtrace_on_error auch im force mode anzeigen --- 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++; }