Skip to content

Commit

Permalink
Add logging for raw input validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Sep 25, 2024
1 parent 456d3f6 commit 267d6c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/parse_raw_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@ parse_raw_params <- function(
log_error(
"Invalid raw input parameters. ",
"Must include \"inherit\" key, or match full schema.",
"See schema for details.",
"See schema for details. ",
raw_schema_file
)
pretty_log_jsonvalidate_errors(raw_input_validation_results)
stop("Invalid raw input parameters.")
}
}
Expand Down

0 comments on commit 267d6c0

Please sign in to comment.