Skip to content

Commit

Permalink
[FIX] l10n_es_partner: pass message to logger.exception
Browse files Browse the repository at this point in the history
Otherwise it doesn't work
  • Loading branch information
pedrobaeza committed Sep 18, 2019
1 parent de9a7d7 commit 14b9732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_es_partner/__manifest__.py
Expand Up @@ -7,7 +7,7 @@

{
"name": "Adaptación de los clientes, proveedores y bancos para España",
"version": "12.0.1.0.1",
"version": "12.0.1.0.2",
"author": "ZikZak,"
"Acysos,"
"Tecnativa,"
Expand Down
2 changes: 1 addition & 1 deletion l10n_es_partner/wizard/l10n_es_partner_wizard.py
Expand Up @@ -46,7 +46,7 @@ def execute(self):
self._cr, 'l10n_es_partner', dest_file.name, {}, 'init',
noupdate=True)
except requests.exceptions.HTTPError: # pragma: no cover
_logger.exception()
_logger.exception("HTTP Error while importing data")
self.import_fail = True
return {
'name': _('Import spanish bank data'),
Expand Down

0 comments on commit 14b9732

Please sign in to comment.