Use str instead of repr for exception msg