Skip to content

Commit

Permalink
fix go fs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertIndie committed Aug 6, 2024
1 parent 141825d commit 99f1934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clients/gofs/gofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func Register[I any, O any](process func(*I) *O) error {
err = json.Unmarshal(payload, input)
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to parse JSON: %s %s", err, payload)
return nil
}
output := process(input)
outputPayload, _ := json.Marshal(output)
Expand Down

0 comments on commit 99f1934

Please sign in to comment.