Skip to content

Commit

Permalink
throw exception instead of assertion OK
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Feb 1, 2021
1 parent 3b5fab6 commit 59a07b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UCX.jl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ mutable struct UCXEndpoint
end
API.ucp_request_free(status)
else
@assert UCS_PTR_STATUS(status) == API.UCS_OK
@check UCS_PTR_STATUS(status)
end
end
endpoint
Expand Down

0 comments on commit 59a07b5

Please sign in to comment.