Add teh_err handler to failstop_handlers.