Fixed a minor bug in the handling of dispatch errors.