Fix unclean exit due to uncaught errors/exceptions #5
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/aioupnp#5
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-unclean-exit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is done to prevent python spewing out
"Task exception not retrieved"
asasyncio.wait()
doesn't consume tasks...Also small fix, to pass
unicast
to_discover_gateway
if setCodecov Report
100% <100%> (ø)
45.66% <100%> (ø)
97.43% <100%> (+1%)
75.14% <77.77%> (-0.01%)
Continue to review full report at Codecov.
@ -202,4 +203,4 @@
lan_address, gateway_address, timeout, igd_args, loop, unicast=True
),
cls._discover_gateway(
lan_address, gateway_address, timeout, igd_args, loop, unicast=False
What's this for?
@ -396,3 +396,3 @@
except UPnPError as err:
print("aioupnp encountered an error:\n%s" % str(err))
print("aioupnp encountered an error: %s" % str(err))
return
this should be logged, not printedThis should not be needed. The return below should always be callable