json handler: Unsupported type serializing oauth error
Đang mở
- Ngôn ngữ chính
- Go
- Star
- 1.4k
- Fork
- 110
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
One of the errors dispatched by the [oauth2 library](https://github.com/golang/oauth2/blob/master/internal/token.go#L256) contains a `http.Response` which causes the following error:
error logging: json: unsupported type: func() (io.ReadCloser, error)
This feels like something `WithError(err)` should handle gracefully, otherwise knowledge of underlying error types needs to be propagated throughout the code.
I'm happy to submit a patch, but not sure what the best solution for this is. Guidance welcome.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.