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

Fix loading local documents #75

Merged
merged 3 commits into from
Aug 7, 2023
Merged

Fix loading local documents #75

merged 3 commits into from
Aug 7, 2023

Conversation

davep
Copy link
Contributor

@davep davep commented Aug 7, 2023

Textual changed the way that we load markdown documents; before the load method ate all exceptions and just returned True or False, there's since been a change where we don't do that any more and instead bubble up any exceptions. This, in turn, broke Frogmouth's ability to sense that it had managed to load a local file.

Thanks to @mBaratta96 in #74 for flagging this up.

This PR fixes that issue, and also pins Textual to a specific version. Until now we've tended to let Frogmouth use whatever the latest and greatest is, but it itself is stable enough that we should not let it run into breaking changes in Textual out in the wild.

@davep davep added the bug Something isn't working label Aug 7, 2023
@davep davep self-assigned this Aug 7, 2023
@davep davep linked an issue Aug 7, 2023 that may be closed by this pull request
@davep davep merged commit 761f7d7 into main Aug 7, 2023
@davep davep deleted the fix-loading-local-documents branch August 7, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

“Error loading the local document”
1 participant