[smart] Fix exception message