Information Exposure Through an Error Message : Apache Cordova Security Issye

we got the vulnerability issue Information Exposure Through an Error Message in Cordova framework java files like CordovaActivity.java , ConfigXmlParser.java. These Core moduless. How to fix these issue. I have installed Cordova 9.

 /cordovaandroid/framework/src/org/apache/cordova/ConfigXmlParser.java Method
     public void parse(XmlPullParser xml) { .... 83.              } catch (XmlPullParserException e) { 84.                  e.printStackTrace();

Please help to fix this issue.