In fact, since the potentiometric measurement is a non-destructive measurement, assuming that the electrode is in equilibrium with the solution, we are measuring the solution's potential.
Conversely, since the potentiometric measurement is a non-invasive technique, under the assumption that the electrode is at equilibrium with the solution, we are actually determining the electrical potential of the solution.