Skip to content

Commit

Permalink
Merge pull request #9063 from OpenMined/aziz/asset_data
Browse files Browse the repository at this point in the history
asset.data displays error instead of a warning
  • Loading branch information
abyesilyurt authored Jul 19, 2024
2 parents 8413d45 + 468a618 commit 4faf529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def data(self) -> Any:
if self.has_permission(res):
return res.syft_action_data
else:
warning = SyftWarning(
warning = SyftError(
message="You do not have permission to access private data."
)
display(warning)
Expand Down

0 comments on commit 4faf529

Please sign in to comment.