Skip to content

Python3.6 template error: AttributeError on 'exception_message = e.message' #837

Closed
@deepusundar

Description

@deepusundar

Description

Python template 3.6 is not compatible with 3.6 run time. Look like the template is not tested for exception conditions. Python 3.x exception handling has been changed from 2.x version.

Steps to Reproduce

Raise an exception in the try block. The code fails with an 'AttributeError' on e.message

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions