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

No error message if --html-dir is not specified correctly, or no files found #15

Open
cyclops1982 opened this issue Dec 21, 2023 · 0 comments

Comments

@cyclops1982
Copy link
Contributor

The instructions clearly state to run ./build/trifecta and this of course works.
However, if you run it from another directory (for example, using ./trifecta from the build directory), then the pages render empty. This is because the arg html-dir points to the relative path. Of course, you can fix this by adding --html-dir

The software could however be friendlier in providing an error message. If the html-dir is wrongly provided, or trifecta is run from another directory, then an empty page is rendered. This is confusing and /should/ actually be a 404 error message.

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

No branches or pull requests

1 participant