From 81f433db61c2848aae952eb343e90001368f5546 Mon Sep 17 00:00:00 2001 From: gmantele <gmantele@ari.uni-heidelberg.de> Date: Wed, 14 Sep 2016 18:44:23 +0200 Subject: [PATCH] [TAP] Give the error for a bug report in the log file when a synchronous job as been interrupted not by a TimeOut (cf executionDuration) but by an IOException. --- src/tap/TAPSyncJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tap/TAPSyncJob.java b/src/tap/TAPSyncJob.java index c403dbb..a1c3c82 100644 --- a/src/tap/TAPSyncJob.java +++ b/src/tap/TAPSyncJob.java @@ -267,7 +267,7 @@ public class TAPSyncJob { // REQUEST ABORTION: else if (error instanceof IOException){ // log the unexpected interruption (unexpected because not caused by a timeout): - service.getLogger().logTAP(LogLevel.INFO, this, "END", "Abortion of the synchronous job " + ID + "! Cause: connection with the HTTP client unexpectedly closed.", null); + service.getLogger().logTAP(LogLevel.INFO, this, "END", "Abortion of the synchronous job " + ID + "! Cause: connection with the HTTP client unexpectedly closed.", error); // throw the error until the TAP instance to notify it about the abortion: throw (IOException)error; } -- GitLab