diff --git a/lib/galaxy/tools/error_reports/plugins/github.py b/lib/galaxy/tools/error_reports/plugins/github.py index 2162b09e7560..4debce7281ae 100644 --- a/lib/galaxy/tools/error_reports/plugins/github.py +++ b/lib/galaxy/tools/error_reports/plugins/github.py @@ -99,8 +99,7 @@ def submit_report(self, dataset, job, tool, **kwargs): else: self._append_issue(issue_cache_key, error_title, error_message) return ( - "Submitted error report to GitHub. Your issue number is [#%s](%s/%s/issues/%s)" - % ( + "Submitted error report to GitHub. Your issue number is [#{}]({}/{}/issues/{})".format( self.issue_cache[issue_cache_key][error_title].number, self.github_base_url, github_projecturl, diff --git a/lib/galaxy/tools/error_reports/plugins/gitlab.py b/lib/galaxy/tools/error_reports/plugins/gitlab.py index 6cccb17c8dc3..9abf32a94ec4 100644 --- a/lib/galaxy/tools/error_reports/plugins/gitlab.py +++ b/lib/galaxy/tools/error_reports/plugins/gitlab.py @@ -185,8 +185,7 @@ def submit_report(self, dataset, job, tool, **kwargs): ) return ( - "Submitted error report to GitLab. Your Issue number is [#%s](%s/%s/issues/%s)" - % ( + "Submitted error report to GitLab. Your Issue number is [#{}]({}/{}/issues/{})".format( self.issue_cache[issue_cache_key][error_title], self.gitlab_base_url, gitlab_projecturl,