Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide line numbers with faults #514

@fmontesi

Description

@fmontesi

Debugging faults that reach the top level and are then logged by the Jolie interpreter gives errors messages like the next one.

Jun 09, 2024 12:38:19 PM main.ol
INFO: [main.ol] Thrown unhandled fault: MyFault
Content (if any):string = "My precious fault"

It would be helpful if this message contained also the line number in the source code, as one gets in Java with stack traces enabled. This way, a developer would know where to start their review of the code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions