SonarQubeScanner-2.12 scans js files. Throw an exception that the file cannot be parsed

Hello
there is a question. When the jenkins plugin SonarQubeScanner-2.12 scans js files. Throw an exception that the file cannot be parsed. The reason is the try-catch statement, the catch statement has no err parameter. Such as try{}catch{}. This way of using is supported in js. How can I solve this problem.