MantisWS : fix raise error on add note
Benjamin Renard

Benjamin Renard commited on 2012-04-20 16:20:20
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -58,7 +58,7 @@ class MantisWS(object):
58 58
 				logging.error('The issue %s does not exists' % issue_id)
59 59
 				raise MantisWSError('unknown_issue_note_add','The issue %s does not exists' % issue_id)
60 60
 			else:
61
-				raise MantisWSError('general_note_add','Problem adding note to issue %s : e' % (issue_id,e))
61
+				raise MantisWSError('general_note_add','Problem adding note to issue %s : %s' % (issue_id,e))
62 62
 			return None
63 63
 		except Exception, e:
64 64
 			logging.error('Problem adding note to issue %s : %s' % (issue_id,e))
65 65