paradox
paradox copied to clipboard
Bad error description on invalid email link in paradoxValidateLinks
I have this text in my docs [email protected] which is not a valid email link.
The error I get is very undescriptive.
(docs / Paradox / paradoxValidateLinks) java.lang.IllegalArgumentException: Illegal character in fragment at index 15: mailto:x@y.z
Having atleast filename, linenumber would be very helpful.
I agree! Would you be interested in trying to improve this? I think an ErrorContext is available during most of the validation, if you can catch this IllegalArgumentException and report it through ErrorContext, including the file that is being validated, that should help it report a better error.
Will definitely give it a try. Thanks!