This is an automated email from the ASF dual-hosted git repository. rkk pushed a commit to branch RKuttruff-patch-1 in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit eaa5153fd8a01f3d9fda36e4bc58d5cca47656ca Author: Riley Kuttruff <[email protected]> AuthorDate: Wed Sep 6 10:18:00 2023 -0700 Update ResultsStorage.py Returns code 404 if no matching execution found --- analysis/webservice/algorithms/doms/ResultsStorage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/webservice/algorithms/doms/ResultsStorage.py b/analysis/webservice/algorithms/doms/ResultsStorage.py index 6b210c0..a183859 100644 --- a/analysis/webservice/algorithms/doms/ResultsStorage.py +++ b/analysis/webservice/algorithms/doms/ResultsStorage.py @@ -401,4 +401,4 @@ class ResultsRetrieval(AbstractResultsContainer): 'timeStarted': row.time_started } - raise ValueError('Execution not found with id %s', execution_id) + raise NexusProcessingException(reason=f'Execution not found with id {str(execution_id)}', code=404)
