refactor: Allow error descriptions to change the title.

This commit is contained in:
Ruben Verborgh 2021-07-14 15:56:56 +01:00
parent 5ab8e41fac
commit a23f25ecfe
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
### Requests to `{{ path }}` are not supported # Requests to `{{ path }}` are not supported
The Community Solid Server received a request for `{{ path }}`, which is not configured. The Community Solid Server received a request for `{{ path }}`, which is not configured.
Here are some things you can try to fix this: Here are some things you can try to fix this:
- Have you started the server with the right hostname? - Have you started the server with the right hostname?

View File

@ -1,11 +1,15 @@
# {{ name }}
{{#if description}} {{#if description}}
{{{ description }}} {{{ description }}}
{{else}}
# {{ name }}
{{/if}} {{/if}}
## Technical details ## Technical details
{{#if message}}
{{ message }} {{ message }}
{{else}}
_No further details available._
{{/if}}
{{#if stack}} {{#if stack}}
``` ```