[
https://issues.apache.org/jira/browse/LUCENE-4308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435484#comment-13435484
]
Dawid Weiss commented on LUCENE-4308:
-------------------------------------
That's all right, I see the point of doing this and I remember that I added it
at some point so it should be easy to weed out.
bq. anything we can do to throw the correct exceptions instead of scary ones
could save hours or days of debugging crazy things.
I'm more of a "log all exceptions and leave the interpretation to whoever reads
the logs" guy. It's clear that you should be looking at the exceptions
top-to-bottom because there can be causal dependencies among them. I've had my
share of cases where the first exception wasn't actually the problem though so
I wouldn't want to hide exceptions that happened later on from view if that's
what you meant.
> Check what's wrong with reporting unclosed directories with previous errors
> ---------------------------------------------------------------------------
>
> Key: LUCENE-4308
> URL: https://issues.apache.org/jira/browse/LUCENE-4308
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Attachments: LUCENE-4308.patch
>
>
> {code}
> -Dtests.seed=75DBD696A5D72F04
> -Dtestcase=TestFailIfDirectoryNotClosed
> {code}
> Windows.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]