Skip to content

Remove redundant print statements in exception handlers#103

Draft
cursor[bot] wants to merge 1 commit intomainfrom
cursor/daily-code-quality-9624
Draft

Remove redundant print statements in exception handlers#103
cursor[bot] wants to merge 1 commit intomainfrom
cursor/daily-code-quality-9624

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented Apr 2, 2026

Summary

This PR removes redundant bare print() statements from exception handlers in the linkedin.py file, improving code consistency.

Changes

  • Removed redundant print(e) statements in the getJobProperties method
  • All error logging now consistently uses the utils.prYellow() utility function
  • No functional changes, purely a code quality improvement

Details

Previously, there were bare print(e) statements alongside utils.prYellow() calls in exception handlers. This inconsistency with the rest of the codebase (which uses utility functions for all output) has been resolved by removing the redundant print statements.

Files modified:

  • linkedin.py: Removed 2 redundant print statements in exception handlers
Open in Web View Automation 

- Remove bare print(e) statements in getJobProperties method
- Keep only the utils.prYellow logging calls for consistency
- Improves code consistency by using utility functions for all output

Co-authored-by: Ongun Demirag <ongun@ongundemirag.com>
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.

1 participant