Skip to content

Commit

Permalink
fixed stacktrace module too
Browse files Browse the repository at this point in the history
  • Loading branch information
typester committed Jun 17, 2010
1 parent f7a3b75 commit 8169498
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Ark/Context/Debug.pm
Expand Up @@ -134,7 +134,7 @@ h2 {
<h1>500 Internal Server Error</h1>
<div id="error">
<pre><?= join "\n", @{ $_[0]->error } ?></pre>
<pre><?= $_[0]->error->[0] ?></pre>
</div>
<div id="stacktrace">
Expand Down Expand Up @@ -211,7 +211,8 @@ around execute_action => sub {
],
no_refs => 1,
);
$self->debug_stack_traces([ $trace->frames ]);
$self->debug_stack_traces([ $trace->frames ])
unless scalar @{ $self->debug_stack_traces };
};

$res = $next->(@__args);
Expand Down

0 comments on commit 8169498

Please sign in to comment.