+

MantisWS : fix raise error on add note

Benjamin Renard [2012-04-20 16:20:20]
MantisWS : fix raise error on add note
Filename
src/usr/share/mantis-smtp/MantisWS.py
diff --git a/src/usr/share/mantis-smtp/MantisWS.py b/src/usr/share/mantis-smtp/MantisWS.py
index 999b229..1505cca 100755
--- a/src/usr/share/mantis-smtp/MantisWS.py
+++ b/src/usr/share/mantis-smtp/MantisWS.py
@@ -58,7 +58,7 @@ class MantisWS(object):
 				logging.error('The issue %s does not exists' % issue_id)
 				raise MantisWSError('unknown_issue_note_add','The issue %s does not exists' % issue_id)
 			else:
-				raise MantisWSError('general_note_add','Problem adding note to issue %s : e' % (issue_id,e))
+				raise MantisWSError('general_note_add','Problem adding note to issue %s : %s' % (issue_id,e))
 			return None
 		except Exception, e:
 			logging.error('Problem adding note to issue %s : %s' % (issue_id,e))
ViewGit