Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
cloudooo cloudooo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • cloudooocloudooo
  • Merge requests
  • !36

Open
Created Jul 11, 2025 by Carlos Ramos Carreño@vnmabusDeveloper
  • Report abuse
Report abuse

wkhtmltopdf: Improve error reporting

  • Overview 1
  • Commits 1
  • Changes 1

When wkhtmltopdf failed, there was no error reporting, apart from the fact that the output file was missing.

This commits modernizes the call to wkhtmltopdf to use the new run function available in Python 3, which supports a check parameter to check the value returned by the program, and raise an exception if it is not 0, including all relevant information. In addition to that, any possible message that wkhtmltopdf outputs in a successful execution is now logged.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature/wkhtmltopdf_error_reporting
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7