mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove web dependency from tools/error_reports
This commit is contained in:
@@ -8,7 +8,6 @@ from typing import (
|
||||
|
||||
import requests
|
||||
|
||||
from galaxy import web
|
||||
from galaxy.util import string_as_bool
|
||||
from .base_git import BaseGitPlugin
|
||||
|
||||
@@ -38,7 +37,7 @@ class SlackPlugin(BaseGitPlugin):
|
||||
|
||||
def submit_report(self, dataset, job, tool, **kwargs):
|
||||
history_id_encoded = self.app.security.encode_id(dataset.history_id)
|
||||
history_view_link = web.url_for("/histories/view", id=history_id_encoded, qualified=True)
|
||||
history_view_link = self.app.url_for("/histories/view", id=history_id_encoded, qualified=True)
|
||||
error_report_id = str(uuid.uuid4())[0:13]
|
||||
title = self._generate_error_title(job)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user