Skip to content

Add error helper and replace unwrap in normalized_mount_point#7

Merged
stackotter merged 1 commit intoBlackboardFS:mainfrom
Kaizen-BT:path-panic
Mar 31, 2026
Merged

Add error helper and replace unwrap in normalized_mount_point#7
stackotter merged 1 commit intoBlackboardFS:mainfrom
Kaizen-BT:path-panic

Conversation

@Kaizen-BT
Copy link
Copy Markdown
Contributor

  • Added exit_error, which prints an error message and exits with status code 1.
  • Updated normalized_mount_point to use .unwrap_or_else(exit_error) instead of .unwrap(), preventing panics when canonicalize() fails

Copy link
Copy Markdown
Contributor

@stackotter stackotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the long delay! Looks good to me

@stackotter stackotter merged commit 79072b7 into BlackboardFS:main Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants