We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi sdk-go community, I started a receiver like:
sdk-go
func receive(ctx context.Context, event cloudevents.Event) cloudevents.Result { fmt.Printf("Got an Event: %s", event) return cloudevents.NewHTTPResult(401, "test") }
but the sender can't get the error message:
and I found in https://github.com/cloudevents/sdk-go/blob/main/v2/protocol/http/protocol.go#L366, that only StatusCode be used, but Format and Args are ignored.
StatusCode
Format
Args
I was wondering if it was a bug?
The text was updated successfully, but these errors were encountered:
Seems like a bug, want to fix?
Sorry, something went wrong.
OK, I will submit a PR to fix this.
Thanks for the PR!!
No branches or pull requests
Hi
sdk-go
community, I started a receiver like:but the sender can't get the error message:
and I found in https://github.com/cloudevents/sdk-go/blob/main/v2/protocol/http/protocol.go#L366, that only
StatusCode
be used, butFormat
andArgs
are ignored.I was wondering if it was a bug?
The text was updated successfully, but these errors were encountered: