Skip to content

Commit

Permalink
Fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Sep 29, 2021
1 parent e4219b7 commit f721ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lifemonitor/api/models/rocrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def load_metadata(self) -> dict:
def download(self, target_path: str) -> str:
# report if the workflow is not longer available on the origin server
if self._metadata and not check_resource_exists(self.uri):
raise lm_exceptions.DownloadException(detail=f"Workflow not found on the origin: {self.uri}", status=410)
raise lm_exceptions.DownloadException(detail=f"Not found: {self.uri}", status=410)

errors = []
# try either with authorization header and without authorization
Expand Down

0 comments on commit f721ad6

Please sign in to comment.