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

propagate error when "request is not valid" #163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nonsense
Copy link
Member

@nonsense nonsense commented Mar 24, 2021

It'd be nice for this to hit go-graphsync, because this error is quite useful - we noted that we have client/miner out of sync and trying to create deals with the same internal identifiers were causing problems.

@Stebalien Stebalien requested a review from hannahhoward May 10, 2021 15:33
@Stebalien
Copy link
Member

This LGTM but the error may have been hidden for security reasons (e.g., the error may be sent over the network?). CC @hannahhoward for context and merge/close.

marten-seemann pushed a commit that referenced this pull request Mar 2, 2023
…sfer (#163)

* add ChannelStage to keep track of lifecycle of DataTransfer

* better errors

* fix tests

* backward compat in case Stages is nil

* remove logger as we dont use it

* add godocs to stages objects.

* make linter happy

* remove `queued data` log

Co-authored-by: raulk <raul@protocol.ai>
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.

2 participants