-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
CLI should print a flie name where exception is happen #2109
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
Comments
I don't think this is related to #2326, there the real error is not shown at all, but the previously found one :-) |
@mkordas , do you have better approach to fix this ? (see my non merged commit and PR) |
We need to catch and rethrow with context information (file path) in Exception as we do not know how our code is used (plugin, embedded, ....), we can not reply on logger, as it could be switched off. |
@romani, I like the approach. |
So where is no easy way to find a reason (input file) of problem. File path should be printed.
The text was updated successfully, but these errors were encountered: