diff options
Diffstat (limited to 'bin/wizard/__init__.py')
| -rw-r--r-- | bin/wizard/__init__.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/wizard/__init__.py b/bin/wizard/__init__.py index 84395f06914..afd1b1ba01c 100644 --- a/bin/wizard/__init__.py +++ b/bin/wizard/__init__.py @@ -63,7 +63,12 @@ class interface(netsvc.Service): context={} res = {} try: - state_def = self.states[state] + try: + state_def = self.states[state] + except Exception, e: + import pydb; pydb.debugger() + raise + result_def = state_def.get('result', {}) actions_res = {} |
