fix handling of errors from param callbacks

fixes #2149
4.3.2