use str() instead of unicode() to cast exception to string