Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • cloudooo cloudooo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • 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 2
  • 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
Time tracking
Source branch: feature/wkhtmltopdf_error_reporting
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7