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

UncaughtException when running Markbind Serve in non-Markbind directories. #2570

Open
gerteck opened this issue Aug 19, 2024 · 2 comments
Open

Comments

@gerteck
Copy link
Contributor

gerteck commented Aug 19, 2024

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

#1715

Tell us about your environment

Win 10

MarkBind version

3.1.1 - 5.5.2

Describe the bug and the steps to reproduce it

When markbind serve is run in stray directories (non-MarkBind configured folders), there is an uncaught exception that should be caught, or at least not shown to the user, to avoid confusion. (unless this is intentional).

The "path" argument must be of type string.

v3.1.1:
image

v5.5.2:
image

Minor nit to improve CLI experience.

Expected behavior

Error not shown.

Anything else?

No response

@kaixin-hc
Copy link
Contributor

kaixin-hc commented Aug 19, 2024

Sounds like this error might be related to #2547 and #1825

@tlylt
Copy link
Contributor

tlylt commented Sep 4, 2024

Yes, I think #1825 is relevant to this issue. I guess it is a known behavior that markbind serve does not work in non-markbind directories, but improving the error handling/message is indeed good to have.

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

No branches or pull requests

3 participants