Skip to content

Conversation

@stanislaw
Copy link
Collaborator

WHAT:

This change improves the error message when the StrictDoc web server cannot find a Chrome installation on the system it is running on.

WHY:

Before this change, the error message was a simple Internal Server Error without an explicit indication that the Chrome could not be found. A user would have to dig through the server logs to understand the issue.

HOW:

This integrates the upstream html2pdf4doc work where the error reporting was improved in the main.py driver program.

In particular, the driver now exits with a specific exit code COULD_NOT_FIND_CHROME = 5 that we can rely on in StrictDoc to identify the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58 strictdoc-project/html2pdf4doc_python#70

…is not found

**WHAT:**

This change improves the error message when the StrictDoc web server
cannot find a Chrome installation on the system it is running on.

**WHY:**

Before this change, the error message was a simple Internal Server Error
without an explicit indication that the Chrome could not be found. A
user would have to dig through the server logs to understand the issue.

**HOW:**

This integrates the upstream html2pdf4doc work where the error reporting
was improved in the main.py driver program.

In particular, the driver now exits with a specific exit code
`COULD_NOT_FIND_CHROME = 5` that we can rely on in StrictDoc to identify
the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58
strictdoc-project/html2pdf4doc_python#70
@stanislaw stanislaw added this to the 2025-Q4 milestone Dec 9, 2025
@stanislaw stanislaw merged commit ca376ff into main Dec 10, 2025
41 of 42 checks passed
@stanislaw stanislaw deleted the stanislaw/html2pdf4doc branch December 10, 2025 08:38
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

Successfully merging this pull request may close these issues.

2 participants