Commits

Steve Borho  committed 9d90a5a

commit: safe conversion of exception to unicode (fixes #1345)

  • Participants
  • Parent commits 03c6609
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/commit.py

                 tracker = self.opts['bugtraqplugin'].split(' ', 1)[1]
                 qtlib.ErrorMsgBox(_('Issue Tracker'),
                                   _('Failed to load issue tracker \'%s\': %s'
-                                    % (tracker, e)),
+                                    % (tracker, hglib.tounicode(str(e))),
                                   parent=self)
                 self.bugtraq = None
             else: