Skip to content

Commit

Permalink
Merge pull request #2639 from activeloopai/fy_head_msg
Browse files Browse the repository at this point in the history
Better view saving error message
  • Loading branch information
FayazRahman authored Oct 9, 2023
2 parents 84e32e5 + 79890c0 commit 4e010d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deeplake/core/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3354,7 +3354,8 @@ def _get_view_info(
):
if self.has_head_changes:
raise DatasetViewSavingError(
"HEAD node has uncommitted changes. Commit them before saving views."
"The dataset's HEAD node has uncommitted changes. Please create a commit on"
" the dataset object [ds.commit(<insert optional message>)] prior to saving the view."
)
commit_id = self.commit_id
tm = getattr(self, "_created_at", time())
Expand Down

0 comments on commit 4e010d9

Please sign in to comment.