mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-14 04:08:23 +00:00
Fix formatting of #1504
This commit is contained in:
parent
417fa3cf3c
commit
ca781651cb
@ -18,7 +18,7 @@ def error_template_helper(env : HTTP::Server::Context, config : Config, locale :
|
|||||||
issue_template = %(Date: `#{Time::Format::ISO_8601_DATE_TIME.format(Time.utc)}`)
|
issue_template = %(Date: `#{Time::Format::ISO_8601_DATE_TIME.format(Time.utc)}`)
|
||||||
issue_template += %(\nRoute: `#{env.request.resource}`)
|
issue_template += %(\nRoute: `#{env.request.resource}`)
|
||||||
issue_template += %(\nVersion: `#{SOFTWARE["version"]} @ #{SOFTWARE["branch"]}`)
|
issue_template += %(\nVersion: `#{SOFTWARE["version"]} @ #{SOFTWARE["branch"]}`)
|
||||||
#issue_template += %(\nPreferences: ```#{env.get("preferences").as(Preferences).to_json}```)
|
# issue_template += %(\nPreferences: ```#{env.get("preferences").as(Preferences).to_json}```)
|
||||||
issue_template += %(\nBacktrace: \n```\n#{exception.inspect_with_backtrace}```)
|
issue_template += %(\nBacktrace: \n```\n#{exception.inspect_with_backtrace}```)
|
||||||
error_message = <<-END_HTML
|
error_message = <<-END_HTML
|
||||||
Looks like you've found a bug in Invidious. Please open a new issue
|
Looks like you've found a bug in Invidious. Please open a new issue
|
||||||
|
Loading…
Reference in New Issue
Block a user