From 921c10e56ee02a69662f2016d5aa4f7e444945d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 22 Oct 2008 20:04:46 +0200 Subject: [PATCH] Print exception on delete error --- trytond/tools/convert.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trytond/tools/convert.py b/trytond/tools/convert.py index 6465de63e1..940f936221 100644 --- a/trytond/tools/convert.py +++ b/trytond/tools/convert.py @@ -854,8 +854,9 @@ def post_import(cursor, pool, module, to_delete): 'There should be some relation ' \ 'that points to this resource\n' \ 'You should manually fix this ' \ - 'and restart --update=module' % \ - (db_id, model)) + 'and restart --update=module\n' \ + 'Exception: %s' % \ + (db_id, model, str(exception))) transition_obj = pool.get('workflow.transition') for mdata_id, db_id in transition_delete: