Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpricethesecond committed Oct 11, 2024
1 parent d8b0f59 commit 194624d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def handle_transfer_error(exception, endpoint_id=None, msg=None):
if exception.code == "ClientError.NotFound":
error = PathNotFoundError(msg='Path does not exist on given endpoint', code=404)
if exception.code == 'EndpointNotFound':
error = CollectionNotFoundError(msg=f"The requested collection with id {endpoint_id} does not exist")
error = EndpointNotFoundError(msg=f"The requested collection with id {endpoint_id} does not exist")
if exception.code == "ExternalError.DirListingFailed.GCDisconnected":
error = GlobusError(msg=f'Error connecting to endpoint {endpoint_id}. Please activate endpoint manually', code=407)
if exception.code == 'ExternalError.DirListingFailed.LoginFailed':
Expand Down

0 comments on commit 194624d

Please sign in to comment.