MantisWS : Increase error log of add_issue_to_project()
Benjamin Renard

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

... ...
@@ -39,8 +39,8 @@ class MantisWS(object):
39 39
 		try:
40 40
 			res = self.client.service.mc_issue_add(self.user,self.password,issue)
41 41
 			return res
42
-		except:
43
-			logging.error('Problem adding issue')
42
+		except Exception, e:
43
+			logging.error('Problem adding issue : %s' % e)
44 44
 			return None
45 45
 
46 46
 	def add_note_to_issue(self,issue_id,text):
47 47