Skip to content

Commit

Permalink
Fix bug due to exception in catch phrase
Browse files Browse the repository at this point in the history
  • Loading branch information
erssebaggala committed Dec 14, 2018
1 parent 917a51a commit 25da429
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*/
public class HuaweiCMObjectParser {

final static String VERSION = "1.0.9";
final static String VERSION = "1.0.10";

Logger logger = LoggerFactory.getLogger(HuaweiCMObjectParser.class);

Expand Down Expand Up @@ -385,10 +385,11 @@ public void processFileOrDirectory()
}

} catch (Exception e) {
System.out.println("Error");
System.out.println(e.getMessage());
logger.error("class name:" + className);
logger.error("MO Parameter List:" + moColumns.get(className).toString());
logger.error("MO parameter values:" + classNameAttrsMap.toString());
// logger.error("MO Parameter List:" + moColumns.get(className).toString());
// logger.error("MO parameter values:" + classNameAttrsMap.toString());
System.out.println("Skipping file: " + this.baseFileName + "\n");

resetInternalVariables();
Expand Down

0 comments on commit 25da429

Please sign in to comment.