doc: hubs: Point to the correct function in exception message