web: error page: make Github issue TODO message more straight forward
We reword the TODO message. We put two newlines before and after the triple dashes to avoid Markdown title formatting. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
parent
46254c4a90
commit
4aac8fc8dc
1 changed files with 4 additions and 3 deletions
|
|
@ -64,9 +64,10 @@ def generate_error_details(req, resp, title, details):
|
|||
f"Error details: {details}\n"
|
||||
|
||||
def get_github_issue_link(details: str):
|
||||
body = "TODO: add information on how you reached the error here. Please make sure details below are correct and what you want to share.\n" + \
|
||||
"---\n" + \
|
||||
details
|
||||
body = ("TODO: add information on how you reached the error here and " +
|
||||
"validate the details below.\n\n" +
|
||||
"---\n\n" +
|
||||
details)
|
||||
|
||||
return ADD_ISSUE_LINK + "?body=" + parse.quote(body)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue