Skip to content

Commit

Permalink
Merge pull request #22 from GregePorter/add-warning-to-createhit
Browse files Browse the repository at this point in the history
Add warning to CreateHIT.R
  • Loading branch information
vineetbansal authored Mar 14, 2024
2 parents 42cf4fd + 7d9b9c4 commit ce4fd38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/CreateHIT.R
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ CreateHIT <-
# Validity check
if(class(response) == "try-error") {
warning("Invalid Request")
warning(response)
} else {
HITs <- emptydf(1, 3, c("HITTypeId", "HITId", "Valid"))
HITs$HITTypeId <- response$HIT$HITTypeId
Expand Down

0 comments on commit ce4fd38

Please sign in to comment.