From 87bc03242392702fb03ff1684778f2b500820198 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Thu, 5 May 2022 14:28:14 +0200 Subject: eliminate some not-actually-an-error error logging --- .../main/java/at/asit/pdfover/gui/workflow/states/SigningState.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java index cc4f6e3a..b95b042d 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java @@ -59,7 +59,6 @@ public class SigningState extends State { status.setSignResult(signer.sign(status.getSigningState())); } catch(Exception e) { - log.error("FinishSignThread: ", e); //$NON-NLS-1$ this.state.threadException = e; } finally { this.state.updateStateMachine(); @@ -117,6 +116,10 @@ public class SigningState extends State { } } + + // if we have gotten to this point, this is an actual exception + log.error("FinishSignThread: ", this.threadException); + ErrorDialog error = new ErrorDialog(getStateMachine().getGUIProvider().getMainShell(), message, BUTTONS.RETRY_CANCEL); this.threadException = null; -- cgit v1.2.3