Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
  • Loading branch information
Pritesh Bandi committed Dec 21, 2022
1 parent 6c88d3d commit 00585ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func run(ctx context.Context, pluginName string, pluginPath string, req proto.Re
if jsonErr != nil {
return proto.RequestError{
Code: proto.ErrorCodeGeneric,
Err: fmt.Errorf("response is not in JSON format. error: %v stderr: %v", err, stderr)}
Err: fmt.Errorf("response is not in JSON format. error: %v stderr: %s", err, string(stderr))}
}
return re
}
Expand Down

0 comments on commit 00585ee

Please sign in to comment.