Check ParameterSet for errors before calling Post
(cherry picked from commit 170158a641a792734881c500e6b5c9b2a3608686)