Update ErrRequestErrorBase from [plugin.downstreamError] to [plugin.requestFailureError] (#100965)
* Update ErrRequestErrorBase to make it more clear for developers * Trigger build * requestError -> requestFailureError * Fix test * Update pkg/plugins/backendplugin/grpcplugin/client_v2.go Co-authored-by: Will Browne <wbrowne@users.noreply.github.com> --------- Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
co-authored by
Will Browne
parent
c654a580f7
commit
9eda0f44ac
@@ -249,7 +249,7 @@ func TestDataSourceQueryError(t *testing.T) {
|
||||
expectedStatus: errutil.StatusInternal.HTTPStatus(),
|
||||
expectedBody: body{
|
||||
Message: "An error occurred within the plugin",
|
||||
MessageId: "plugin.downstreamError",
|
||||
MessageId: "plugin.requestFailureError",
|
||||
StatusCode: 500,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user