Commit 81f433db authored by gmantele's avatar gmantele
Browse files

[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.
parent 2463d5fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
			}