Show exception extra information on exception log view page (#2909)
authorMatthias Schmidt <gravatronics@live.com>
Sun, 28 Apr 2019 12:44:45 +0000 (14:44 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Apr 2019 12:44:45 +0000 (14:44 +0200)
Close #2472

wcfsetup/install/files/acp/templates/exceptionLogView.tpl

index fbd26c71fcc99833c452365efe2aa536affe0234..a52593dea89eb89e56696733d607fa75d06e6550 100644 (file)
                                        <dt>{lang}wcf.acp.exceptionLog.exception.file{/lang}</dt>
                                        <dd>{$chain[file]} ({$chain[line]})</dd>
                                </dl>
+                               {if !$chain[information]|empty}
+                                       {foreach from=$chain[information] item=extraInformation}
+                                               <dl>
+                                                       <dt>{$extraInformation[0]}</dt>
+                                                       <dd>{$extraInformation[1]}</dd>
+                                               </dl>
+                                       {/foreach}
+                               {/if}
                                <dl>
                                        <dt>{lang}wcf.acp.exceptionLog.exception.stacktrace{/lang}</dt>
                                        <dd>