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

Print log with errors #80

Open
Rensvandeschoot opened this issue Jan 21, 2025 · 3 comments
Open

Print log with errors #80

Rensvandeschoot opened this issue Jan 21, 2025 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Rensvandeschoot
Copy link
Member

If I run Makita and the simulations end with an error without finalizing the pipeline, I would like to see a log with the error(s) printed in the parent folder. Currently, the CLI simply stops and closes, and you have to re-run the simulation to find out what error caused the interruption.

@Rensvandeschoot Rensvandeschoot added the enhancement New feature or request label Jan 21, 2025
@jteijema
Copy link
Member

We might beable to redirect the output of the script to a log file. At least on unix and darwin, not sure for windows.

@J535D165
Copy link
Member

I'm not in favor of that. It doesn't sound like a good practice for CLI interfaces.

This happens when users run the BAT file directly, isn't it? There is no problem when running the bat file from the command line. I think we should encourage users to run from the cli (documentation).

@J535D165 J535D165 added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jan 22, 2025
@jteijema
Copy link
Member

jteijema commented Jan 23, 2025

I agree that running from the CLI would be best. Another option would be to add a pause after the batch files, that could be added very easily during the batch script conversion step.

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

No branches or pull requests

3 participants