Mercurial > piecrust2
comparison piecrust/resources/messages/error.html @ 229:a951cd4ef361
serve: Print nested exception messages in the dev server.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 11 Feb 2015 08:27:52 -0800 |
parents | 67a1c082d89d |
children |
comparison
equal
deleted
inserted
replaced
228:8015fb40c28b | 229:a951cd4ef361 |
---|---|
62 | 62 |
63 | 63 |
64 | 64 |
65 {% if details %} | 65 {% if details %} |
66 <div class="error-details"> | 66 <div class="error-details"> |
67 {{ details|safe }} | 67 <p>Error details:</p> |
68 <ul> | |
69 {% for desc in details %} | |
70 <li>{{ desc }}</li> | |
71 {% endfor %} | |
72 </ul> | |
68 </div> | 73 </div> |
69 {% endif %} | 74 {% endif %} |
70 </div> | 75 </div> |
71 <hr /> | 76 <hr /> |
72 <p class="note">You’re seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the <code>--debug</code> parameter, append <code>?!debug</code> to the <span class="caps">URL</span>, or initialize the <code>PieCrust</code> object with <code>{'debug': true}</code>. On the other hand, to see you custom error pages, set the <code>site/display_errors</code> setting to <code>false</code>.</p> </div> | 77 <p class="note">You’re seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the <code>--debug</code> parameter, append <code>?!debug</code> to the <span class="caps">URL</span>, or initialize the <code>PieCrust</code> object with <code>{'debug': true}</code>. On the other hand, to see you custom error pages, set the <code>site/display_errors</code> setting to <code>false</code>.</p> </div> |