summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-05 14:28:14 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-05 14:28:14 +0200
commit87bc03242392702fb03ff1684778f2b500820198 (patch)
tree9ba66fc6b6e146b4c8a8f361509f4ba3c2cd9fce /pdf-over-gui
parent1ac240dcf95343fbdd4c40563203bab5fd204c8f (diff)
downloadpdf-over-87bc03242392702fb03ff1684778f2b500820198.tar.gz
pdf-over-87bc03242392702fb03ff1684778f2b500820198.tar.bz2
pdf-over-87bc03242392702fb03ff1684778f2b500820198.zip
eliminate some not-actually-an-error error logging
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java5
1 files changed, 4 insertions, 1 deletions
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;