8000 lower context in file excerpt to 5 lines · symfony/symfony@7c794b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c794b0

Browse files
committed
lower context in file excerpt to 5 lines
1 parent 235dbe2 commit 7c794b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/TwigBundle/Resources/views/Exception/trace.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424
{% if trace.file|default(false) %}
2525
<div id="trace-html-{{ prefix ~ '-' ~ i }}" class="trace-code sf-toggle-content">
26-
{{ trace.file|file_excerpt(trace.line, 10)|replace({
26+
{{ trace.file|file_excerpt(trace.line, 5)|replace({
2727
'#DD0000': '#183691',
2828
'#007700': '#a71d5d',
2929
'#0000BB': '#222222',

0 commit comments

Comments
 (0)
0