Skip to content

Commit

Permalink
Remove maxDepth option on profiler dump.
Browse files Browse the repository at this point in the history
MaxDepth was introduced in Symfony 3.2 so to maintain 2.8 compatibility
we should remove this option.

Fixes: #158
  • Loading branch information
Ian Jenkins committed Aug 9, 2017
1 parent 9ad3eb0 commit 05efd4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<span>{{ sentMessage.body[0:40] }}... </span><a class="btn btn-link text-small sf-toggle" data-toggle-selector="#message-body-{{ loop.index }}" data-toggle-alt-content="Hide trace">Show trace</a>

<div id="message-body-{{ loop.index }}" class="context sf-toggle-content sf-toggle-hidden">
{{ profiler_dump(sentMessage.body, maxDepth=1) }}
{{ profiler_dump(sentMessage.body) }}
</div>
</span>
<td><span title="{{ sentMessage.priority }}">{{ collector.prettyPrintPriority(sentMessage.priority) }}</span></td>
Expand Down

0 comments on commit 05efd4b

Please sign in to comment.