Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix resume_paused_jobs if no session provided
No session means no history. Fixes #18639: ``` AttributeError: 'NoneType' object has no attribute 'resume_paused_jobs' (1 additional frame(s) were not displayed) ... File "galaxy/web/framework/middleware/error.py", line 167, in __call__ app_iter = self.application(environ, sr_checker) File "galaxy/web/framework/middleware/statsd.py", line 29, in __call__ req = self.application(environ, start_response) File "galaxy/web/framework/base.py", line 174, in __call__ return self.handle_request(request_id, path_info, environ, start_response) File "galaxy/web/framework/base.py", line 268, in handle_request body = method(trans, **kwargs) File "galaxy/webapps/galaxy/controllers/history.py", line 249, in resume_paused_jobs history.resume_paused_jobs() Uncaught Exception ```
- Loading branch information