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?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/28/15, 12:40 PM|
|Seen: 335 times|
|Last updated: 9/28/15, 12:40 PM|