Skip to content

Commit

Permalink
remove hardcoded panic
Browse files Browse the repository at this point in the history
  • Loading branch information
benwaples committed Mar 20, 2024
1 parent 232bf83 commit 6c5e745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func getAvailableJobs(ctx context.Context, bheUrl url.URL, bheClient *http.Clien
endpoint = bheUrl.ResolveReference(&url.URL{Path: "/api/v2/jobs/available"})
response basicResponse[[]models.ClientJob]
)
panic(" ANOTHER WAY OF PANIC ✅✅✅✅")

if req, err := rest.NewRequest(ctx, "GET", endpoint, nil, nil, nil); err != nil {
return nil, err
} else if res, err := do(bheClient, req); err != nil {
Expand Down

0 comments on commit 6c5e745

Please sign in to comment.