Skip to content

Commit

Permalink
Update programs.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilliams0305 committed Dec 11, 2023
1 parent 354b609 commit 8c8b99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vc/programs.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func postProgram(vc *VC, options.ProgramOptions) (status int, err error) {
defer response.Body.Close()

if !response.StatusCode == 200 {
return response.StatusCode, errors.New
return response.StatusCode, NewServerError(response.StatusCode, err)
}

return response.StatusCode, nil
Expand Down

0 comments on commit 8c8b99c

Please sign in to comment.