This question has been flagged
2646 Views

During testing my new developed modules, I often experience errors and the well known popup with its traceback opens up. Such as:

"if 'attendee_ids' in vals and vals['attendee_ids']:

IndexError: tuple index out of range"

Often, I still don't get why that error happened. It would be a LOT more helpful, if the contents of the variables are automatically shown in that popup. Because the content is not shown, I always have to execute the whole odoo environment in Debug mode, which costs a lot of time.

Is there some way to tell Python a more verbose error message with variable content?

Avatar
Discard