From c606346296f3621990ebcdc952a52c321f6c380f Mon Sep 17 00:00:00 2001 From: j-dimension Date: Fri, 15 Nov 2024 11:33:40 +0100 Subject: [PATCH] enhanced logging --- .../client/editors/documents/LoadDocumentPreviewThread.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/LoadDocumentPreviewThread.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/LoadDocumentPreviewThread.java index 877288ff..e0a9dc65 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/LoadDocumentPreviewThread.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/LoadDocumentPreviewThread.java @@ -808,6 +808,9 @@ public void run() { } catch (Exception ex) { running = false; log.error(ex); + if(ex.getCause()!=null) { + log.error(ex.getCause()); + } SwingUtilities.invokeLater(() -> { pnlPreview.setVisible(false); pnlPreview.removeAll();