Skip to content

Commit

Permalink
qanary.pipeline v3.8.2: test FE show error impr.
Browse files Browse the repository at this point in the history
improved error visualization in test frontend to make it easier to understand errors during calls to Qanary components
  • Loading branch information
anbo-de committed Jan 4, 2024
1 parent 2b6125e commit d9cb3a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions qanary_pipeline-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>qa.pipeline</artifactId>
<groupId>eu.wdaqua.qanary</groupId>
<version>3.8.1</version>
<version>3.8.2</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
Expand All @@ -14,7 +14,7 @@
<properties>
<java.version>11</java.version>
<spring-boot-admin.version>2.7.14</spring-boot-admin.version>
<qanary.version>[3.10.3,4.0.0)</qanary.version>
<qanary.version>[3.11.1,4.0.0)</qanary.version>
<dockerfile-maven-version>1.4.13</dockerfile-maven-version>
<docker.image.prefix>qanary</docker.image.prefix>
<docker.image.name>qanary-pipeline</docker.image.name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
textMessage = jqXHR.responseText;
if (jsonMessage) {
console.log("jsonMessage:", jsonMessage);
coreMessage = jsonMessage.substr(0, jsonMessage.indexOf(".", jsonMessage.indexOf(":")) + 1)
coreMessage = jsonMessage.substr(0, jsonMessage.indexOf("|", jsonMessage.indexOf(":")) + 1)
} else if (textMessage){
console.log("textMessage:",textMessage);
coreMessage = textMessage;
Expand All @@ -305,7 +305,7 @@
console.log("error message: none found");
coreMessage = "";
}
message = "ERROR: The process failed.\nPlease check your implementation!\n<p class=\"coreMessage\">" + coreMessage + "</p>See browser console for details.";
message = "ERROR: The process failed.\nPlease check your implementation!\n<p class=\"coreMessage\">" + coreMessage + "</p>See your browser developer console for details.";
$("#errormessage").html(message);
$("#errormessage").slideDown("fast"); // show results with animation
$("#errormessage").show();
Expand All @@ -321,7 +321,7 @@
textMessage = jqXHR.responseText;
if (jsonMessage) {
console.log("jsonMessage:", jsonMessage);
coreMessage = jsonMessage.substr(0, jsonMessage.indexOf(".", jsonMessage.indexOf(":")) + 1)
coreMessage = jsonMessage.substr(0, jsonMessage.indexOf("|", jsonMessage.indexOf(":")) + 1)
} else if (textMessage){
console.log("textMessage:",textMessage);
coreMessage = textMessage;
Expand All @@ -332,7 +332,7 @@
console.log("error message: none found");
coreMessage = "";
}
message = "ERROR: The process failed.\nPlease check your implementation!\n<p class=\"coreMessage\">" + coreMessage + "</p>See browser console for details.";
message = "ERROR: The process failed.\nPlease check your implementation!\n<p class=\"coreMessage\">" + coreMessage + "</p>See your browser developer console for details.";
$("#errormessage").html(message);
$("#errormessage").slideDown("fast"); // show results with animation
$("#errormessage").show();
Expand Down

0 comments on commit d9cb3a4

Please sign in to comment.