ANNIS is an open source, versatile web browser-based search and visualization architecture for complex multilevel linguistic corpora with diverse types of annotation.
782 reports two issues found by automatic code analysis which also have been found by Sonarcloud before.
The fix for one of the potential problems is not to include any information from the exception at all, even if only the message (and not as claimed the whole stacktrace) is exposed.
The second issue is not an issue after reviewing this again. But the explanation in the comment why this is needed/ok was wrong.
I updated the comment for future reviewers to explain more what is going on and why this code is safe.
782 reports two issues found by automatic code analysis which also have been found by Sonarcloud before.
The fix for one of the potential problems is not to include any information from the exception at all, even if only the message (and not as claimed the whole stacktrace) is exposed.
The second issue is not an issue after reviewing this again. But the explanation in the comment why this is needed/ok was wrong. I updated the comment for future reviewers to explain more what is going on and why this code is safe.