Skip to content

Need context information for errors in roclet_process #1490

Closed
@ralmond

Description

@ralmond

This issue is inspired by #1421, I was having a similar problem, and in entering the debugger, I noticed that the block data element in the function call block_to_rd had information about the file and line number that was being processed at the time. This information needs to be added to any error message which is thrown by block_to_rd

My suggested fix would be to have roclet_process.roclet_rd() (possibly other roclet_process messages catch errors from calls to block_to_rd(), add the file and line number to the error message, and then rethrow the error. This is robust to even unexpected error types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorrd ✍️

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions