Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment