Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

fix: ignore qpdf warnings (#2952)

Open Abdurrahman-shaikh opened this issue 10 months ago • 0 comments

Description of Changes

Please provide a summary of the changes, including:

  • What was changed

    • Modified the qpdf command execution by adding the --no-warn flag
  • Why the change was made

    • The warning is misleading because the object is still present, so it doesn't indicate a real error. Suppressing it with --no-warn ensures the compression process completes successfully.
  • Any challenges encountered

Closes #2952


Checklist

General

Documentation

UI Changes (if applicable)

  • [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)

Testing (if applicable)

  • [x] I have tested my changes locally. Refer to the Testing Guide for more details.

Abdurrahman-shaikh avatar Feb 20 '25 14:02 Abdurrahman-shaikh