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

Better error message when LaTeX compilations fail #29

Closed
jl-marin opened this issue Feb 3, 2025 · 1 comment · Fixed by #54
Closed

Better error message when LaTeX compilations fail #29

jl-marin opened this issue Feb 3, 2025 · 1 comment · Fixed by #54
Assignees
Labels
enhancement New feature or request

Comments

@jl-marin
Copy link
Collaborator

jl-marin commented Feb 3, 2025

If, for whatever reason, the compilation of the LaTeX report fails in create_pdf(), the error logged on the console is too vague about the location of the log file:

2025-02-03 20:41:29,567 |                  DGCV.PDFLatex |      ERROR |                 report.py:  484 | An error occurred while generating the report, log in report.log

Instead of simply saying "... log in report.log", it should include a hint to the location of this file under /tmp, such as for example, "... look for the report.log under /tmp/DGCV_Results//Reports/"_.

@jl-marin jl-marin added the enhancement New feature or request label Feb 3, 2025
@marcosmc marcosmc linked a pull request Feb 27, 2025 that will close this issue
@marcosmc
Copy link
Collaborator

The error message is modified to include the location of the log file, for example:
An error occurred while generating the report, look for the report.log file under ../test/Reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants