mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] use string representation of the exception
This commit is contained in:
@@ -377,9 +377,9 @@ class AccountBankStatement(Model):
|
|||||||
if res:
|
if res:
|
||||||
compl_lines += 1
|
compl_lines += 1
|
||||||
except ErrorTooManyPartner, exc:
|
except ErrorTooManyPartner, exc:
|
||||||
msg += exc.message + "\n"
|
msg += unicode(exc) + "\n"
|
||||||
except Exception, exc:
|
except Exception, exc:
|
||||||
msg += exc.message + "\n"
|
msg += unicode(exc) + "\n"
|
||||||
# vals = res and res.keys() or False
|
# vals = res and res.keys() or False
|
||||||
if res:
|
if res:
|
||||||
vals = res[line.id]
|
vals = res[line.id]
|
||||||
|
|||||||
Reference in New Issue
Block a user