Fixed a string format typo when raising exception