Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wormholeoffer: prevent unhandled LonelyError #70

Merged
merged 1 commit into from Jan 21, 2019
Merged

wormholeoffer: prevent unhandled LonelyError #70

merged 1 commit into from Jan 21, 2019

Conversation

RyuzakiKK
Copy link
Member

With the recent wormhole versions (probably from the 0.11.0) the close()
behaviour slightly changed.
In keysign output we got this message when we cancelled a pending
sending operation:

Unhandled error in Deferred:

Traceback (most recent call last):
Failure: wormhole.errors.LonelyError:

To solve this I added an error callback to the close function. Because
we still catch every possible errors in the start() function, here I
just redirect the error output to log.debug.

With the recent wormhole versions (probably from the 0.11.0) the close()
behaviour slightly changed.
In keysign output we got this message when we cancelled a pending
sending operation:
```
Unhandled error in Deferred:

Traceback (most recent call last):
Failure: wormhole.errors.LonelyError:
```
To solve this I added an error callback to the close function. Because
we still catch every possible errors in the start() function, here I
just redirect the error output to `log.debug`.
@muelli muelli merged commit 6a61dc6 into gnome-keysign:master Jan 21, 2019
@RyuzakiKK RyuzakiKK deleted the hotfix1 branch March 1, 2019 14:46
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.

None yet

2 participants