Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Improve error message for forbidden paths during dev #11338

Open
itsMapleLeaf opened this issue Oct 13, 2024 · 2 comments · May be fixed by tauri-apps/plugins-workspace#1939
Open

[feat] Improve error message for forbidden paths during dev #11338

itsMapleLeaf opened this issue Oct 13, 2024 · 2 comments · May be fixed by tauri-apps/plugins-workspace#1939

Comments

@itsMapleLeaf
Copy link

Describe the problem

This error message shows in the browser console when an FS operation fails due to a disallowed path:

"forbidden path C:\whatever..."

It turns out I was missing the "fs:allow-exists" permission, but the error message didn't give me any clue about that, and it made me think something elsewhere else was broken 😅

Describe the solution you'd like

The error message should be more specific:

missing the 'fs:allow-exists' permission for this path: C:\whatever...

Alternatives considered

No response

Additional context

No response

@ayangweb
Copy link

tauri-apps/plugins-workspace#1927 (comment) This might help.

@itsMapleLeaf
Copy link
Author

tauri-apps/plugins-workspace#1927 (comment) This might help.

My issue is already resolved, I'm specifically suggesting to improve an error message I encountered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants