From ca781651cb31bf790312481c92f145558fd21f67 Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Mon, 30 Nov 2020 15:56:01 +0100 Subject: [PATCH] Fix formatting of #1504 --- src/invidious/helpers/errors.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr index c9f3c06c..68f7dd31 100644 --- a/src/invidious/helpers/errors.cr +++ b/src/invidious/helpers/errors.cr @@ -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 += %(\nRoute: `#{env.request.resource}`) 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}```) error_message = <<-END_HTML Looks like you've found a bug in Invidious. Please open a new issue