Add sanity checking; if we can't find the errorhandler, then we shouldn't try to report other errors using it