Improve error message when conversation isn't available in Module\Item\Display

- Retrieve the parent post no matter what. Previously it was depending on the user's settings, which gave unpredictable behavior if the parent post wasn't retrieved for whatever reason.
- List possible reasons the conversation isn't showing up based on the condition in Model\Post::selectViewForUser
- Allow HTML in exception messages
This commit is contained in:
Hypolite Petovan 2022-11-18 20:44:53 -05:00
parent acc3c2d2c7
commit 525eab395c
2 changed files with 11 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<div id="exception" class="generic-page-wrapper">
<img class="hare" src="images/friendica-404_svg_flexy-o-hare.png"/>
<h1>{{$title}}</h1>
<p>{{$message}}</p>
<p>{{$message nofilter}}</p>
{{if $thrown}}
<pre>{{$thrown}}
{{$stack_trace}}