From a129ca81e39dc7eef25615e4570fa8809fb67cb6 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Tue, 24 Mar 2026 14:41:47 +0100 Subject: [PATCH] Remove unused error controller that only raises a fake exception fixes https://github.com/galaxyproject/galaxy/issues/22245 --- doc/source/lib/galaxy.webapps.galaxy.controllers.rst | 8 -------- lib/galaxy/webapps/galaxy/controllers/error.py | 10 ---------- 2 files changed, 18 deletions(-) delete mode 100644 lib/galaxy/webapps/galaxy/controllers/error.py diff --git a/doc/source/lib/galaxy.webapps.galaxy.controllers.rst b/doc/source/lib/galaxy.webapps.galaxy.controllers.rst index aa31d91114d..7f5c530f17a 100644 --- a/doc/source/lib/galaxy.webapps.galaxy.controllers.rst +++ b/doc/source/lib/galaxy.webapps.galaxy.controllers.rst @@ -57,14 +57,6 @@ galaxy.webapps.galaxy.controllers.dataset module :undoc-members: :show-inheritance: -galaxy.webapps.galaxy.controllers.error module ----------------------------------------------- - -.. automodule:: galaxy.webapps.galaxy.controllers.error - :members: - :undoc-members: - :show-inheritance: - galaxy.webapps.galaxy.controllers.forms module ---------------------------------------------- diff --git a/lib/galaxy/webapps/galaxy/controllers/error.py b/lib/galaxy/webapps/galaxy/controllers/error.py deleted file mode 100644 index a322c6bfd44..00000000000 --- a/lib/galaxy/webapps/galaxy/controllers/error.py +++ /dev/null @@ -1,10 +0,0 @@ -from galaxy.webapps.base.controller import ( - BaseUIController, - web, -) - - -class Error(BaseUIController): - @web.expose - def index(self, trans): - raise Exception("Fake error")