bsim: fix some broken error reporting.