Benjamin Renard commited on 2014-09-14 21:01:18
Showing 1 changed files, with 2 additions and 1 deletions.
| ... | ... |
@@ -42,7 +42,8 @@ class DB(object): |
| 42 | 42 |
self.con.commit() |
| 43 | 43 |
return c |
| 44 | 44 |
except Exception,e: |
| 45 |
- log.error('Error executing request %s : %s' % (sql,e))
|
|
| 45 |
+ log.error('Error executing request %s' % sql)
|
|
| 46 |
+ log.error('Error executing request : %s' % e)
|
|
| 46 | 47 |
return False |
| 47 | 48 |
|
| 48 | 49 |
def select(self,sql): |
| 49 | 50 |