Skip to content

fix custom exceptions#425

Merged
aniketmaurya merged 4 commits intomainfrom
aniket/fix-custom-exception
Feb 11, 2025
Merged

fix custom exceptions#425
aniketmaurya merged 4 commits intomainfrom
aniket/fix-custom-exception

Conversation

@aniketmaurya
Copy link
Copy Markdown
Collaborator

@aniketmaurya aniketmaurya commented Feb 10, 2025

What does this PR do?

Fixes the case when a custom exception has multiple args and can't be sent via multiprocessing queue.

fixes #424

Before

Hangs indefinitely

image

After

image
Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89%. Comparing base (38d7169) to head (c8cdb52).
Report is 1 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #425   +/-   ##
===================================
  Coverage    89%    89%           
===================================
  Files        31     31           
  Lines      2023   2025    +2     
===================================
+ Hits       1808   1811    +3     
+ Misses      215    214    -1     

@aniketmaurya aniketmaurya enabled auto-merge (squash) February 11, 2025 10:46
@aniketmaurya aniketmaurya merged commit ccc322a into main Feb 11, 2025
19 of 20 checks passed
@aniketmaurya aniketmaurya deleted the aniket/fix-custom-exception branch February 11, 2025 11:02
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.

multiprocessing.managers.RemoteError

5 participants