Skip to content

Less obscure error messages #138

@pjlegato

Description

@pjlegato

Currently, exceptions are generated like:

 java.lang.IllegalArgumentException: Don't know how to create ISeq from: net.cgrand.enlive_html$html_content$fn__17289

It's unclear what caused this, particularly as the line number given in the corresponding stack trace is usually incorrect due to macro rewrites. An (at) form might have many elements being updated; there is no way to tell which one caused the error

Could the error message in the exception be updated somehow to include the name of the offending element and/or the erroneous data that the user attempted to insert there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions