diff options
Diffstat (limited to '')
-rw-r--r-- | lib/Net/HTTP/Spore/Role/Debug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Spore/Role/Debug.pm b/lib/Net/HTTP/Spore/Role/Debug.pm index 18f3412..5aeba83 100644 --- a/lib/Net/HTTP/Spore/Role/Debug.pm +++ b/lib/Net/HTTP/Spore/Role/Debug.pm @@ -19,7 +19,7 @@ sub BUILD { my ($self, $args) = @_; my $trace; - $trace = $args->{trace} && $args->{trace} > 0 ? $args->{trace} : undef; + $trace = $args->{trace} if $args->{trace}; $trace = $ENV{SPORE_TRACE} if defined $ENV{SPORE_TRACE}; if (!defined $trace){ |