Skip to content

Commit

Permalink
fixing exception in the campaign load for #13
Browse files Browse the repository at this point in the history
  • Loading branch information
gitfvb committed Jul 16, 2024
1 parent 41ea8b0 commit 1a117dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function Get-Messages {

write-log "Parameterset: $( $PSCmdlet.ParameterSetName )"


#-----------------------------------------------
# CHECK INPUT AND SET JOBLOG
#-----------------------------------------------
Expand Down Expand Up @@ -151,7 +152,7 @@ function Get-Messages {

$msg = "No messages loaded -> please check!"
Write-Log -Message $msg -Severity ERROR
throw [System.IO.InvalidDataException] $msg
throw $msg

}

Expand Down

0 comments on commit 1a117dd

Please sign in to comment.