Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less obscure error messages #138

Open
pjlegato opened this issue May 11, 2016 · 0 comments
Open

Less obscure error messages #138

pjlegato opened this issue May 11, 2016 · 0 comments

Comments

@pjlegato
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant