Skip to content

Add error helper and replace unwrap in normalized_mount_point#7

Open
Kaizen-BT wants to merge 1 commit intoBlackboardFS:mainfrom
Kaizen-BT:path-panic
Open

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

Conversation

@Kaizen-BT
Copy link

  • 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

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.

1 participant