mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
Don't catch the custom dynamic rule exceptions, just raise them as-is.
This commit is contained in:
@@ -228,6 +228,8 @@ class JobRunnerMapper(object):
|
||||
def __cache_job_destination(self, params, raw_job_destination=None):
|
||||
try:
|
||||
self.cached_job_destination = self.__determine_job_destination(params, raw_job_destination=raw_job_destination)
|
||||
except (JobMappingException, JobNotReadyException):
|
||||
raise
|
||||
except Exception:
|
||||
log.exception("Caught unhandled exception while attempting to cache job destination:")
|
||||
raise JobMappingException(ERROR_MESSAGE_RULE_EXCEPTION)
|
||||
|
||||
Reference in New Issue
Block a user