[
https://issues.apache.org/jira/browse/RAT-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806388#comment-17806388
]
Philipp Ottlinger edited comment on RAT-347 at 1/13/24 10:22 PM:
-----------------------------------------------------------------
[~nielsbasjes] I did not check all of the code changes in the
gitignore-library. Could you add a logging statement in case the library runs
into problems parsing any .gitignore files?
Not sure if
https://github.com/nielsbasjes/codeowners/blob/main/gitignore-reader/src/main/java/nl/basjes/gitignore/GitIgnore.java#L95
could be improved to contain the name of the .gitignore file that ran into an
exception.
Maybe logging the exception is helpful here.
was (Author: hugo.hirsch):
[~nielsbasjes] I did not check all of the code changes in the
gitignore-library. Could you add a logging statement in case the library runs
into problems parsing any .gitignore files?
> line 1:0 mismatched input '<EOF>' expecting {'!', COMMENT, NEWLINE,
> FILEEXPRESSION}
> ------------------------------------------------------------------------------------
>
> Key: RAT-347
> URL: https://issues.apache.org/jira/browse/RAT-347
> Project: Apache Rat
> Issue Type: Bug
> Affects Versions: 0.16
> Reporter: Gary D. Gregory
> Priority: Major
> Fix For: 0.16.1
>
>
> After applying the new configuration mechanism for custom licenses
> [~ggregory] ran into this issue.
> [~ggregory] can you add links to the project/branch here so that we do not
> mix up things over at RAT-343 - thanks.
> [[email protected]] fyi
--
This message was sent by Atlassian Jira
(v8.20.10#820010)