From 639fea75e19cfa64362fbe6ea545cecb4f5e89bd Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Mon, 18 Oct 2021 16:11:49 +0200 Subject: [PATCH] Log exception message if error happened in document processing --- src/main/java/pro/litvinovg/w2phtml/gui/ConversionExecutor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/pro/litvinovg/w2phtml/gui/ConversionExecutor.java b/src/main/java/pro/litvinovg/w2phtml/gui/ConversionExecutor.java index 0deaf57..a46ce5f 100644 --- a/src/main/java/pro/litvinovg/w2phtml/gui/ConversionExecutor.java +++ b/src/main/java/pro/litvinovg/w2phtml/gui/ConversionExecutor.java @@ -200,6 +200,7 @@ public class ConversionExecutor { } catch (Exception e ) { logger.error("Conversion failed."); logger.error("Params: " + Arrays.toString(prepareArgs())); + logger.error(e.getLocalizedMessage()); } }