Skip to content

Commit

Permalink
S-109616 Revert deserialization message
Browse files Browse the repository at this point in the history
  • Loading branch information
jberta-agency04 committed May 7, 2024
1 parent 136726e commit 69a1108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runner/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func execute(pluginVersion string, buildDate string, runner Runner) {
var inputContext task.InputContext
if err := task.Deserialize(&inputContext); err != nil {
klog.Errorf("Failed to deserialize input %v", err)
task.HandleError(err, nil, nil)
task.HandleError(fmt.Errorf("failed to deserialize input: %v", err), nil, nil)
return
}

Expand Down
2 changes: 1 addition & 1 deletion runner/test/testdata/fail_empty_input/expected.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"exitCode":-1,"jobErrorMessage":"unexpected end of JSON input","reportingRecords":null}
{"exitCode":-1,"jobErrorMessage":"failed to deserialize input: unexpected end of JSON input","reportingRecords":null}

0 comments on commit 69a1108

Please sign in to comment.